public class NegativeInputNode extends InputNode
LatticeNode.RSKeyNode.QueueInput.InputKey| Modifier and Type | Field and Description |
|---|---|
static int |
INPUT_TYPE |
inputNeuron, ridandChildren, 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| Constructor and Description |
|---|
NegativeInputNode(Model m,
Integer rid) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(Model m) |
double |
computeForwardWeight(Activation act) |
boolean |
containsNegative() |
static TreeMap<Range,Set<Conflicts.Key>> |
getNegationSegments(Document doc,
Set<NegativeInputNode> nn,
Range r) |
double |
getNodeWeight(Activation act) |
int |
getSign() |
boolean |
isNegative() |
void |
propagateAddedActivation(Iteration t,
Activation act,
Range addedRange,
Option conflict) |
void |
propagateRemovedActivation(Iteration t,
Activation act,
Range removedRange) |
void |
remove(Model m) |
add, addActivation, collectNodeAndRefinements, computeSynapseWeightSum, deleteActivation, expandToNextLevel, initActivation, isAllowedOption, logicToString, removeActivationaddNeuron, collectPublicNodes, computeAndParents, computePredefinedAndNodes, computePredefinedInputNodes, computePredefinedSecondLevelAndNodes, getAndChildPatterns, isPublic, removeFromNextLevel, trainaddActivationAndPropagate, addActivationInternal, clearActivations, compare, compareTo, countActivation, getActivations, getFirstActivation, getSelectedActivations, isFrequentOrPredefined, isFrequentOrPredefined, processAddedActivations, processRemovedActivations, removeActivationAndPropagate, removeActivationInternal, retrieveInitialOption, toSimpleString, toStringpublic static final int INPUT_TYPE
public static TreeMap<Range,Set<Conflicts.Key>> getNegationSegments(Document doc, Set<NegativeInputNode> nn, Range r)
public boolean isNegative()
isNegative in class Nodepublic boolean containsNegative()
containsNegative in class Nodepublic double computeForwardWeight(Activation act)
computeForwardWeight in class Nodepublic double getNodeWeight(Activation act)
getNodeWeight in class Nodepublic void propagateAddedActivation(Iteration t, Activation act, Range addedRange, Option conflict)
propagateAddedActivation in class LatticeNodepublic void propagateRemovedActivation(Iteration t, Activation act, Range removedRange)
propagateRemovedActivation in class LatticeNodepublic void remove(Model m)
remove in interface Inputremove in class LatticeNodeCopyright © 2016. All rights reserved.