public class OrNode extends LogicNode
| Modifier and Type | Field and Description |
|---|---|
Set<Node> |
parents |
activations, andChildren, andChildrenWithinDocument, countingMode, currentNodeId, frequency, frequencyHasChanged, id, isBlocked, isPredefined, isRemoved, isRemovedId, isRemovedIdCounter, level, minFrequency, n, neuron, orChildren| Constructor and Description |
|---|
OrNode(int level) |
| Modifier and Type | Method and Description |
|---|---|
void |
addActivation(Iteration t,
LatticeQueue queue,
Activation.Key ak,
Activation inputAct) |
void |
addInput(Node inputNode) |
void |
cleanup() |
protected void |
collectNodeAndRefinements(Set<InputNode> inputs) |
double |
computeSynapseWeightSum(Neuron n) |
void |
expandToNextLevel(Iteration t,
LatticeQueue queue,
Activation act,
Option conflict,
boolean train) |
double |
getWeight() |
String |
logicToString() |
static void |
processCandidate(Iteration t,
LatticeQueue queue,
Node parentNode,
Activation act,
Option conflict,
boolean train) |
void |
remove() |
protected void |
removeActivation(Iteration t,
LatticeQueue queue,
Activation.Key ak) |
void |
setActivationsEmpty() |
addActivationAndPropagate, addActivationInternal, addNeuron, clearActivations, compareTo, computeAndParents, computePredefinedAndNodes, computePredefinedInputNodes, computePredefinedSecondLevelAndNodes, countActivation, getActivation, getActivation, getActivation, getActivation, getActivations, getActivations, getAndChildPatterns, getMatchingActivations, isFrequentOrPredefined, isFrequentOrPredefined, propagateAddedActivation, propagateRemovedActivation, removeActivationAndPropagate, removeActivationInternal, removeFromNextLevel, toSimpleString, toString, trainpublic void addActivation(Iteration t, LatticeQueue queue, Activation.Key ak, Activation inputAct)
protected void removeActivation(Iteration t, LatticeQueue queue, Activation.Key ak)
public double computeSynapseWeightSum(Neuron n)
computeSynapseWeightSum in class Nodepublic void setActivationsEmpty()
setActivationsEmpty in class Nodepublic void expandToNextLevel(Iteration t, LatticeQueue queue, Activation act, Option conflict, boolean train)
expandToNextLevel in class Nodepublic static void processCandidate(Iteration t, LatticeQueue queue, Node parentNode, Activation act, Option conflict, boolean train)
protected void collectNodeAndRefinements(Set<InputNode> inputs)
collectNodeAndRefinements in class Nodepublic void addInput(Node inputNode)
public String logicToString()
logicToString in class NodeCopyright © 2016. All rights reserved.