public abstract class InputNode extends LatticeNode implements Input
LatticeNode.RSKeyNode.QueueInput.InputKey| Modifier and Type | Field and Description |
|---|---|
Neuron |
inputNeuron |
Integer |
rid |
andChildren, andChildrenWithinDocument, orChildren, visitedAllowedOption, visitedCollectPublicNodes, visitedPropagateSignificanceactivations, added, countingMode, currentNodeId, frequency, frequencyHasChanged, id, isBlocked, isPredefined, isQueued, isRemoved, isRemovedId, isRemovedIdCounter, level, MAX_NODE, MIN_NODE, minFrequency, n, neuron, removed, visitedCounter, weight| Modifier and Type | Method and Description |
|---|---|
static InputNode |
add(Model m,
Integer rid,
Neuron input,
boolean isNeg) |
void |
addActivation(Iteration t,
Activation inputAct,
Range addedRange) |
protected void |
collectNodeAndRefinements(AndNode.Refinement newRef,
Set<AndNode.Refinement> inputs) |
double |
computeSynapseWeightSum(Neuron n) |
void |
deleteActivation(Iteration t,
Activation act) |
void |
expandToNextLevel(Iteration t,
Activation act,
Range addedRange,
Option removedConflict,
boolean train) |
abstract int |
getSign() |
void |
initActivation(Iteration t,
Activation act) |
boolean |
isAllowedOption(Option n,
Activation act,
long v) |
String |
logicToString() |
void |
removeActivation(Iteration t,
Activation inputAct,
Range removedRange) |
addNeuron, collectPublicNodes, computeAndParents, computePredefinedAndNodes, computePredefinedInputNodes, computePredefinedSecondLevelAndNodes, getAndChildPatterns, isPublic, propagateAddedActivation, propagateRemovedActivation, remove, removeFromNextLevel, trainaddActivationAndPropagate, addActivationInternal, cleanup, clearActivations, compare, compareTo, computeForwardWeight, containsNegative, countActivation, getActivations, getFirstActivation, getNodeWeight, getSelectedActivations, isFrequentOrPredefined, isFrequentOrPredefined, isNegative, processAddedActivations, processRemovedActivations, removeActivationAndPropagate, removeActivationInternal, retrieveInitialOption, toSimpleString, toStringpublic void initActivation(Iteration t, Activation act)
initActivation in class Nodepublic void deleteActivation(Iteration t, Activation act)
deleteActivation in class Nodepublic void addActivation(Iteration t, Activation inputAct, Range addedRange)
addActivation in interface Inputpublic void removeActivation(Iteration t, Activation inputAct, Range removedRange)
removeActivation in interface Inputpublic abstract int getSign()
public boolean isAllowedOption(Option n, Activation act, long v)
isAllowedOption in class Nodeprotected void collectNodeAndRefinements(AndNode.Refinement newRef, Set<AndNode.Refinement> inputs)
collectNodeAndRefinements in class LatticeNodepublic void expandToNextLevel(Iteration t, Activation act, Range addedRange, Option removedConflict, boolean train)
expandToNextLevel in class LatticeNodet - act - addedRange - removedConflict - This parameter contains a removed conflict if it is not null. In this case only expand activations that contain this removed conflict.train - public double computeSynapseWeightSum(Neuron n)
computeSynapseWeightSum in class Nodepublic String logicToString()
logicToString in class NodeCopyright © 2016. All rights reserved.