jmarkov
Class GeomPropertiesState

java.lang.Object
  extended by jmarkov.State
      extended by jmarkov.GeomState
          extended by jmarkov.GeomPropertiesState
All Implemented Interfaces:
java.lang.Comparable

public abstract class GeomPropertiesState
extends GeomState

La clase GeomPropertiesState representa los estados en GeomProcess.

Author:
Julio Góez. Universidad de los Andes.

Field Summary
 
Fields inherited from class jmarkov.GeomState
level, subState
 
Constructor Summary
GeomPropertiesState(int[] properties, int level)
          Construye un GeomProperties con los valores especificados en el arreglo properties, el entero level y el booleano typic.
GeomPropertiesState(int K, int level)
          Construye un GeomProperties con K propiedades, nivel level y con condición de típico o no según typic.
 
Method Summary
 int getProperty(int index)
          Gets the property value for the given index.
 PropertiesState getSubState()
           
 void setProperty(int index, int value)
          Sets the property value for the given index.
 
Methods inherited from class jmarkov.GeomState
addMOPName, clearMOPs, compareTo, computeMOPs, getlevel, getMOP, getMOP, getMOPIndex, getMOPNames, getMOPNames, label, mopsNames, numMOPNames, setMOP, setMOP, setMOPNames
 
Methods inherited from class jmarkov.State
compareTo, description, equals, getNum, getRates, getRateToState, setRateToState, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeomPropertiesState

public GeomPropertiesState(int K,
                           int level)
Construye un GeomProperties con K propiedades, nivel level y con condición de típico o no según typic. Los valores originales para todas las propiedades son cero.

Parameters:
K - Entero que indica el número de propiedades.
level - Nivel relativo del estado.
See Also:
PropertiesState

GeomPropertiesState

public GeomPropertiesState(int[] properties,
                           int level)
Construye un GeomProperties con los valores especificados en el arreglo properties, el entero level y el booleano typic.

Parameters:
properties - Vector de propiedades del estado.
level - Nivel relativo del estado.
Method Detail

getSubState

public PropertiesState getSubState()
Overrides:
getSubState in class GeomState
Returns:
Returns the subState.
See Also:
GeomState.getSubState()

getProperty

public int getProperty(int index)
Gets the property value for the given index.

Parameters:
index -
Returns:
the value
See Also:
PropertiesState.getProperty(int)

setProperty

public void setProperty(int index,
                        int value)
Sets the property value for the given index.

Parameters:
index -
See Also:
PropertiesState.setProperty(int,int)