jmarkov.basic
Interface JMarkovElement
- All Known Subinterfaces:
- ContPhaseVar, DiscPhaseVar, PhaseVar, PropertiesElement, Transitions<S>
- All Known Implementing Classes:
- AbstractAverageSolver, AbstractContPhaseVar, AbstractDiscountedSolver, AbstractDiscPhaseVar, AbstractFiniteSolver, AbstractInfiniteSolver, AbstractTotalSolver, Action, DecisionRule, DenseContPhaseVar, DenseDiscPhaseVar, ErlangCoxianVar, Event, FiniteSolver, GeometricSolver, GeometrixSolver, GeomProcess, GeomRelState, GeomState, HyperErlangVar, JamaSolver, JamaTransientSolver, LPBCLAverageSolver, LPBCLDiscountedSolver, MarkovProcess, MpsLpAverageSolver, MpsLpDiscountedSolver, MtjLogRedSolver, MtjSolver, PolicyIterationSolver, PropertiesAction, PropertiesEvent, PropertiesState, RelativeValueIterationSolver, SimpleMarkovProcess, Solver, Solver, SparseContPhaseVar, SparseDiscPhaseVar, State, StateC, StateEvent, SteadyStateSolver, StochasticShortestPathSolver, TransientSolver, Transition, TransitionsSet, ValueFunction, ValueIterationSolver
public interface JMarkovElement
All the elements in JMarkov implement this interface, so they can be easily
described in the interface. It is recommended that the method
toString()
is implemented as final, and calling
label()
.
- Author:
- Germán Riaño. Universidad de los Andes. (C) 2006
Method Summary |
java.lang.String |
description()
This method return a complete verbal describtion of this element. |
boolean |
equals(java.lang.Object e)
Returns true if these two elements are equal. |
java.lang.String |
label()
This method returns a short String used in the user interface to describe
this element. |
java.lang.String |
toString()
This method returns a short String used in the user interface to describe
this element. |
toString
java.lang.String toString()
- This method returns a short String used in the user interface to describe
this element. It is highly recommended that every class calls label(),
using the following code:
public final String toString() {
return label();
}
- Overrides:
toString
in class java.lang.Object
- Returns:
- A String label.
- See Also:
label()
label
java.lang.String label()
- This method returns a short String used in the user interface to describe
this element.
- Returns:
- A String label.
- See Also:
description()
description
java.lang.String description()
- This method return a complete verbal describtion of this element. This
description may contain multiple text rows.
- Returns:
- A String describing this element.
- See Also:
label()
equals
boolean equals(java.lang.Object e)
- Returns true if these two elements are equal. If this element implementa a
compareTo() method it is recommended that this method returns
compareTo(o)==0.
- Overrides:
equals
in class java.lang.Object
- Parameters:
e
- The Object to compare to.
- Returns:
- True if the elements are equal.
- See Also:
Object.equals(java.lang.Object)