public class OrNode extends Node
| Modifier and Type | Class and Description |
|---|---|
static class |
OrNode.OrEntry |
Node.ReverseAndRefinement, Node.RidVisited, Node.RSKey, Node.Similarity, Node.ThreadState| Modifier and Type | Field and Description |
|---|---|
TreeMap<Integer,TreeSet<Node>> |
parents |
andChildren, BEGIN_COMP, currentNodeId, END_COMP, endRequired, frequency, frequencyHasChanged, id, instanceSum, isBlocked, isQueued, isRemoved, isRemovedId, isRemovedIdCounter, level, LINK_NEURON_RELATIONS_OPTIMIZATION, lock, matchRange, MAX_NODE, MAX_RID, MIN_NODE, minFrequency, neuron, nOffset, nullHypFreq, numberOfNeuronRefs, oldNullHypFreq, orChildren, passive, queueId, rangeVisibility, reverseAndChildren, RID_COMP, ridRequired, sizeSum, threads, visitedCounteraddActivationAndPropagate, addActivationInternal, addAndChild, addConflict, addOrChild, adjust, clearActivations, clearActivations, compare, compareTo, computeAndParents, computeRefinements, count, getActivations, getAndChild, getFirstActivation, getThreadState, isCovered, isFrequent, isPublic, isRequired, postProcessRemovedActivation, prepareResultsForPredefinedNodes, preProcessAddedActivation, processAddedActivation, processChanges, processRemovedActivation, read, removeActivationAndPropagate, removeActivationInternal, removeAndChild, removeConflict, removeFromNextLevel, removeOrChild, toSimpleString, toString, weightsToStringpublic OrNode()
public OrNode(Iteration t)
public void computeNullHyp(Model m)
computeNullHyp in class Nodepublic boolean isExpandable(boolean checkFrequency)
isExpandable in class Nodepublic boolean isAllowedOption(Iteration t, Option n, Activation act, long v)
isAllowedOption in class Nodepublic void initActivation(Iteration t, Activation act)
initActivation in class Nodepublic void deleteActivation(Iteration t, Activation act)
deleteActivation in class Nodepublic void addActivation(Iteration t, Integer ridOffset, Activation inputAct)
public void removeActivation(Iteration t, Integer ridOffset, Activation inputAct)
public void propagateAddedActivation(Iteration t, Activation act, Option removedConflict)
propagateAddedActivation in class Nodepublic void propagateRemovedActivation(Iteration t, Activation act)
propagateRemovedActivation in class Nodepublic double computeSynapseWeightSum(Integer offset, Neuron n)
computeSynapseWeightSum in class Nodeprotected boolean hasSupport(Activation act)
hasSupport in class Nodepublic void apply(Iteration t, Activation act, Option conflict)
public void discover(Iteration t, Activation act)
public static void processCandidate(Iteration t, Node parentNode, Activation inputAct, boolean train)
protected Set<AndNode.Refinement> collectNodeAndRefinements(AndNode.Refinement newRef)
collectNodeAndRefinements in class Nodeprotected void changeNumberOfNeuronRefs(Iteration t, long v, int d)
changeNumberOfNeuronRefs in class Nodepublic void removeAllInputs(Iteration t)
public String logicToString()
logicToString in class Nodepublic void write(DataOutput out) throws IOException
Writableout.write in interface Writablewrite in class Nodeout - DataOuput to serialize this object into.IOExceptionpublic void readFields(DataInput in, Iteration t) throws IOException
Writablein.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields in interface WritablereadFields in class Nodein - DataInput to deseriablize this object from.IOExceptionCopyright © 2017. All rights reserved.