fr.umlv.roadcoloring.graph
Class PairsState

java.lang.Object
  extended by fr.umlv.roadcoloring.graph.PairsState

public class PairsState
extends java.lang.Object

States in the pair automata

Author:
fsikora

Constructor Summary
PairsState()
          New empty state
PairsState(java.util.HashSet<java.lang.Integer> set, java.lang.String word)
          New state with a set of nodes and a word for going to this state
 
Method Summary
protected  void addNode(int node)
          Add a node in the state
 boolean equals(java.util.HashSet<java.lang.Integer> set)
           
 java.util.HashSet<java.lang.Integer> getNodes()
           
 java.lang.String getWord()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PairsState

public PairsState()
New empty state


PairsState

public PairsState(java.util.HashSet<java.lang.Integer> set,
                  java.lang.String word)
New state with a set of nodes and a word for going to this state

Parameters:
set -
word -
Method Detail

addNode

protected void addNode(int node)
Add a node in the state

Parameters:
node -

getWord

public java.lang.String getWord()

getNodes

public java.util.HashSet<java.lang.Integer> getNodes()

equals

public boolean equals(java.util.HashSet<java.lang.Integer> set)