public class NodeActivation<T extends Node> extends Object implements Comparable<NodeActivation>
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeActivation.Key<T extends Node> |
| Modifier and Type | Field and Description |
|---|---|
Document |
doc |
int |
id |
TreeMap<NodeActivation.Key,NodeActivation> |
inputs |
boolean |
isRemoved |
boolean |
isTrainingAct |
NodeActivation.Key<T> |
key |
TreeMap<NodeActivation.Key,NodeActivation> |
outputs |
int |
removedId |
static int |
removedIdCounter |
static long |
visitedCounter |
long |
visitedNeuronTrain |
| Constructor and Description |
|---|
NodeActivation(int id,
Document doc,
NodeActivation.Key<T> key) |
NodeActivation(int id,
Document doc,
T n,
Range pos,
Integer rid,
InterprNode o) |
public int id
public final NodeActivation.Key<T extends Node> key
public Document doc
public boolean isRemoved
public int removedId
public long visitedNeuronTrain
public static int removedIdCounter
public static long visitedCounter
public boolean isTrainingAct
public TreeMap<NodeActivation.Key,NodeActivation> inputs
public TreeMap<NodeActivation.Key,NodeActivation> outputs
public NodeActivation(int id,
Document doc,
NodeActivation.Key<T> key)
public NodeActivation(int id,
Document doc,
T n,
Range pos,
Integer rid,
InterprNode o)
public void link(Collection<NodeActivation> inputActs)
public void unlink(Collection<NodeActivation> inputActs)
public void unlink()
public static <T extends Node,A extends NodeActivation<T>> A get(Document doc, T n, Integer rid, Range r, Range.Operator begin, Range.Operator end, InterprNode o, InterprNode.Relation or)
public static <T extends Node,A extends NodeActivation<T>> A get(Document doc, T n, NodeActivation.Key ak)
public static NodeActivation getNextSignal(Node n, Document doc, int from, Integer rid, InterprNode o, boolean dir, boolean inv)
public static Stream<NodeActivation> select(Document doc, Integer rid, Range r, Range.Operator begin, Range.Operator end, InterprNode o, InterprNode.Relation or)
public static <T extends Node,A extends NodeActivation<T>> Stream<A> select(Document doc, T n, Integer rid, Range r, Range.Operator begin, Range.Operator end, InterprNode o, InterprNode.Relation or)
public static <T extends Node,A extends NodeActivation<T>> Stream<A> select(Node.ThreadState<T,A> th, T n, Integer rid, Range r, Range.Operator begin, Range.Operator end, InterprNode o, InterprNode.Relation or)
public static <T extends Node,A extends NodeActivation<T>> Stream<A> getActivationsByRange(Node.ThreadState<T,A> th, T n, Integer rid, Range r, Range.Operator begin, Range.Operator end, InterprNode o, InterprNode.Relation or)
public <T extends Node> boolean filter(T n, Integer rid, Range r, Range.Operator begin, Range.Operator end, InterprNode o, InterprNode.Relation or)
public int compareTo(NodeActivation act)
compareTo in interface Comparable<NodeActivation>public static int compare(NodeActivation a, NodeActivation b)
Copyright © 2017. All rights reserved.