jopt.csp.spi.arcalgorithm.graph.node
Class GenericLongNode

java.lang.Object
  extended byjopt.csp.spi.arcalgorithm.graph.node.AbstractNode
      extended byjopt.csp.spi.arcalgorithm.graph.node.GenericNumNode
          extended byjopt.csp.spi.arcalgorithm.graph.node.GenericLongNode
All Implemented Interfaces:
ChoicePointDataSource, ChoicePointEntryListener, GenericNode, Node, NodeChangeListener, NodeChangeSource, Storable

public class GenericLongNode
extends GenericNumNode

A generic long node relating to a generic variable such as Xi which represents X1, X2, etc.


Nested Class Summary
 
Nested classes inherited from class jopt.csp.spi.arcalgorithm.graph.node.AbstractNode
AbstractNode.DomainListener
 
Constructor Summary
GenericLongNode(java.lang.String name, GenericIndex[] indices, NumNode[] nodes)
          Constructor
 
Method Summary
 int getNumberType()
          Returns the type of number this node is based on.
 
Methods inherited from class jopt.csp.spi.arcalgorithm.graph.node.GenericNumNode
addInternalRangeChangeListener, afterChoicePointPopEvent, afterChoicePointPushEvent, beforeChoicePointPopEvent, beforeChoicePointPushEvent, choicePointStackSet, clearDelta, domainModifiedMaxOffset, domainModifiedMinOffset, getIndices, getLargestMax, getLargestMax, getLargestMin, getLargestMin, getMax, getMin, getNode, getNodeCount, getNodeForIndex, getNodes, getPrecision, getSize, getSmallestMax, getSmallestMax, getSmallestMin, getSmallestMin, getState, isAnyBound, isBound, isInDomain, isOverRealInterval, nodeChange, rangeModifiedMaxOffset, rangeModifiedMinOffset, restoreState, setChoicePointEventListener, setChoicePointStack, setIndicesToNodeOffset, toString, valueModifiedMaxOffset, valueModifiedMinOffset, values
 
Methods inherited from class jopt.csp.spi.arcalgorithm.graph.node.AbstractNode
addDomainChangeListener, addedToGraph, addRangeChangeListener, addValueChangeListener, equals, getName, hashCode, inGraph, removedFromGraph, removeDomainChangeListener, removeRangeChangeListener, removeValueChangeListener, setName
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericLongNode

public GenericLongNode(java.lang.String name,
                       GenericIndex[] indices,
                       NumNode[] nodes)
Constructor

Parameters:
name - unique name of this node
indices - array of indices that generic node is based upon
nodes - array of nodes that this generic node wraps
Method Detail

getNumberType

public int getNumberType()
Returns the type of number this node is based on.

Specified by:
getNumberType in class GenericNumNode