public abstract class LatticeNode extends Node
| Modifier and Type | Class and Description |
|---|---|
static class |
LatticeNode.RSKey |
Node.Queue| Modifier and Type | Field and Description |
|---|---|
TreeMap<AndNode.Refinement,AndNode> |
andChildren |
TreeMap<AndNode.Refinement,AndNode> |
andChildrenWithinDocument |
TreeSet<OrNode> |
orChildren |
long |
visitedAllowedOption |
long |
visitedCollectPublicNodes |
long |
visitedPropagateSignificance |
activations, 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 |
|---|
LatticeNode(Model m,
int level) |
addActivationAndPropagate, addActivationInternal, cleanup, clearActivations, compare, compareTo, computeForwardWeight, computeSynapseWeightSum, containsNegative, countActivation, deleteActivation, getActivations, getFirstActivation, getNodeWeight, getSelectedActivations, initActivation, isAllowedOption, isFrequentOrPredefined, isFrequentOrPredefined, isNegative, logicToString, processAddedActivations, processRemovedActivations, removeActivationAndPropagate, removeActivationInternal, retrieveInitialOption, toSimpleString, toStringpublic TreeMap<AndNode.Refinement,AndNode> andChildrenWithinDocument
public TreeMap<AndNode.Refinement,AndNode> andChildren
public long visitedPropagateSignificance
public long visitedCollectPublicNodes
public long visitedAllowedOption
public LatticeNode(Model m, int level)
public abstract void expandToNextLevel(Iteration t, Activation act, Range addedRange, Option conflict, boolean train)
protected abstract void collectNodeAndRefinements(AndNode.Refinement newRef, Set<AndNode.Refinement> inputs)
public boolean isPublic()
public void collectPublicNodes(List<LatticeNode> results, long v)
public void train(Iteration t)
public void propagateAddedActivation(Iteration t, Activation act, Range addedRange, Option conflict)
propagateAddedActivation in class Nodepublic void propagateRemovedActivation(Iteration t, Activation act, Range removedRange)
propagateRemovedActivation in class Nodepublic boolean computeAndParents(int offset,
SortedSet<AndNode.Refinement> inputs,
Map<AndNode.Refinement,LatticeNode> parents,
Set<LatticeNode.RSKey> visited)
public void removeFromNextLevel(Iteration t, Activation iAct, Range removedRange)
public void remove(Model m)
public static SimpleNeuron addNeuron(SimpleNeuron n, Set<Synapse> inputs)
public static Map<LatticeNode.RSKey,Set<Synapse>> computePredefinedInputNodes(Neuron n, Set<LatticeNode> outputs, Set<Synapse> inputs)
public static Map<LatticeNode.RSKey,Set<Synapse>> computePredefinedSecondLevelAndNodes(Neuron n, Set<LatticeNode> outputs, Map<LatticeNode.RSKey,Set<Synapse>> previousLevel)
public static Map<LatticeNode.RSKey,Set<Synapse>> computePredefinedAndNodes(Neuron n, Set<LatticeNode> outputs, Map<LatticeNode.RSKey,Set<Synapse>> previousLevel)
Copyright © 2016. All rights reserved.