ar.edu.unr.fceia.bottallo
Class Ring

java.lang.Object
  extended by ar.edu.unr.fceia.bottallo.Ring

public class Ring
extends java.lang.Object

Represent a ring (begin symbol in default transitions)


Constructor Summary
Ring()
          Creates a new instance of Ring
 
Method Summary
protected  Dimension getDimension()
          Get the dimension of the ring
protected  State getFather()
          Get the father state
protected  java.lang.String getId()
          Get the id of a ring
protected  int getLevel(int l)
          Get the level of this element
protected  float getMetric()
          Get the metric of the ring
protected  Transition getTransition()
          Get the outcoming transition
protected  void removeTransition()
          Remove the outcoming transition
protected  void setDimension(Dimension d)
          Set the dimension of the ring
protected  void setFather(State s)
          Set the father state
protected  void setId(java.lang.String i)
          Set the id of a ring
protected  void setLevel(int l)
          Set the level of this element
protected  void setMetric(float m)
          Set the metric of the ring
protected  void setTransition(Transition t)
          Set the outcoming transition
protected  void setVertices()
          Set the vertices of the ring
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ring

public Ring()
Creates a new instance of Ring

Method Detail

setId

protected void setId(java.lang.String i)
Set the id of a ring


getId

protected java.lang.String getId()
Get the id of a ring


setFather

protected void setFather(State s)
Set the father state


getFather

protected State getFather()
Get the father state


setDimension

protected void setDimension(Dimension d)
Set the dimension of the ring


getDimension

protected Dimension getDimension()
Get the dimension of the ring


setVertices

protected void setVertices()
Set the vertices of the ring


setMetric

protected void setMetric(float m)
Set the metric of the ring


getMetric

protected float getMetric()
Get the metric of the ring


setLevel

protected void setLevel(int l)
Set the level of this element


getLevel

protected int getLevel(int l)
Get the level of this element


setTransition

protected void setTransition(Transition t)
Set the outcoming transition


getTransition

protected Transition getTransition()
Get the outcoming transition


removeTransition

protected void removeTransition()
Remove the outcoming transition