| Package | Description |
|---|---|
| org.aika.corpus | |
| org.aika.lattice | |
| org.aika.neuron |
| Modifier and Type | Field and Description |
|---|---|
NodeActivation |
Conflicts.Conflict.act |
NodeActivation |
Conflicts.Key.act |
| Modifier and Type | Field and Description |
|---|---|
NavigableMap<NodeActivation.Key,NodeActivation> |
InterprNode.activations |
static Comparator<NodeActivation> |
Document.ACTIVATIONS_OUTPUT_COMPARATOR |
TreeMap<NodeActivation.Key,NodeActivation> |
Document.activationsByRid |
Map<NodeActivation,InterprNode> |
InterprNode.orInterprNodes |
| Modifier and Type | Method and Description |
|---|---|
Collection<NodeActivation> |
InterprNode.getActivations() |
| Modifier and Type | Method and Description |
|---|---|
static void |
Conflicts.add(Document doc,
NodeActivation act,
InterprNode primary,
InterprNode secondary) |
void |
InterprNode.addOrOption(NodeActivation inputAct,
InterprNode n) |
static void |
Conflicts.remove(Document doc,
NodeActivation act,
InterprNode primary,
InterprNode secondary) |
void |
InterprNode.removeOrOption(NodeActivation inputAct,
InterprNode n) |
| Constructor and Description |
|---|
Conflict(NodeActivation act,
InterprNode primary,
InterprNode secondary,
InterprNode conflict) |
Key(InterprNode o,
NodeActivation act) |
| Modifier and Type | Class and Description |
|---|---|
class |
Node<T extends Node,A extends NodeActivation<T>>
The
Node class is the abstract class for all the boolean logic nodes underneath the neural network layer. |
static class |
Node.ThreadState<T extends Node,A extends NodeActivation<T>>
The
ThreadState is a thread local data structure containing the activations of a single document for
a specific logic node. |
| Modifier and Type | Field and Description |
|---|---|
NavigableMap<NodeActivation.Key,Set<NodeActivation<?>>> |
Node.ThreadState.added |
TreeMap<NodeActivation.Key,NodeActivation> |
NodeActivation.inputs |
TreeMap<NodeActivation.Key,NodeActivation> |
NodeActivation.outputs |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Node,A extends NodeActivation<T>> |
Node.addActivationAndPropagate(Document doc,
NodeActivation.Key<T> ak,
Collection<NodeActivation<?>> inputActs)
Add a new activation to this logic node and further propagate this activation through the network.
|
static <T extends Node,A extends NodeActivation<T>> |
NodeActivation.get(Document doc,
T n,
Integer rid,
Range r,
Range.Operator begin,
Range.Operator end,
InterprNode o,
InterprNode.Relation or) |
static <T extends Node,A extends NodeActivation<T>> |
NodeActivation.get(Document doc,
T n,
NodeActivation.Key ak) |
static <T extends Node,A extends NodeActivation<T>> |
NodeActivation.getActivationsByRange(Node.ThreadState<T,A> th,
T n,
Integer rid,
Range r,
Range.Operator begin,
Range.Operator end,
InterprNode o,
InterprNode.Relation or) |
static <T extends Node,A extends NodeActivation<T>> |
Node.removeActivationAndPropagate(Document doc,
A act,
Collection<NodeActivation<?>> inputActs) |
static <T extends Node,A extends NodeActivation<T>> |
NodeActivation.select(Document doc,
T n,
Integer rid,
Range r,
Range.Operator begin,
Range.Operator end,
InterprNode o,
InterprNode.Relation or) |
static <T extends Node,A extends NodeActivation<T>> |
NodeActivation.select(Node.ThreadState<T,A> th,
T n,
Integer rid,
Range r,
Range.Operator begin,
Range.Operator end,
InterprNode o,
InterprNode.Relation or) |
| Modifier and Type | Method and Description |
|---|---|
protected NodeActivation<InputNode> |
InputNode.createActivation(Document doc,
NodeActivation.Key ak,
boolean isTrainingAct) |
protected NodeActivation<AndNode> |
AndNode.createActivation(Document doc,
NodeActivation.Key ak,
boolean isTrainingAct) |
static NodeActivation |
NodeActivation.getNextSignal(Node n,
Document doc,
int from,
Integer rid,
InterprNode o,
boolean dir,
boolean inv) |
| Modifier and Type | Method and Description |
|---|---|
static Collection<NodeActivation<?>> |
AndNode.prepareInputActs(NodeActivation<?> firstAct,
NodeActivation<?> secondAct) |
static Stream<NodeActivation> |
NodeActivation.select(Document doc,
Integer rid,
Range r,
Range.Operator begin,
Range.Operator end,
InterprNode o,
InterprNode.Relation or) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Node,A extends NodeActivation<T>> |
Node.addActivationAndPropagate(Document doc,
NodeActivation.Key<T> ak,
Collection<NodeActivation<?>> inputActs)
Add a new activation to this logic node and further propagate this activation through the network.
|
void |
NodeActivation.link(Collection<NodeActivation> inputActs) |
static void |
OrNode.processCandidate(Document doc,
Node<?,? extends NodeActivation<?>> parentNode,
NodeActivation inputAct,
boolean train) |
static <T extends Node,A extends NodeActivation<T>> |
Node.removeActivationAndPropagate(Document doc,
A act,
Collection<NodeActivation<?>> inputActs) |
void |
NodeActivation.unlink(Collection<NodeActivation> inputActs) |
| Modifier and Type | Class and Description |
|---|---|
class |
Activation
The
Activation class is the most central class in Aika. |
| Modifier and Type | Method and Description |
|---|---|
void |
INeuron.propagateRemovedActivation(Document doc,
NodeActivation act) |
Copyright © 2017. All rights reserved.