net.cercis.jstruct.output
Class NodeRes

java.lang.Object
  extended bynet.cercis.jstruct.output.NodeRes

public class NodeRes
extends java.lang.Object

NodeRes Object. This object is used after the solution process has been performed by the Solver to store the results of the nodes (final). Its values are stoed from the NodeResForSolver Object.


Constructor Summary
NodeRes(NodeResForSolver nr)
          Class Constructor where the final values are filled with the help of a NodeResForSolver object input
 
Method Summary
 int id()
          Returns the value of the identifier
 double val(java.lang.String type, java.lang.String coor)
          Returns the value (movement or reaction) of a certain coordinate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeRes

public NodeRes(NodeResForSolver nr)
Class Constructor where the final values are filled with the help of a NodeResForSolver object input

Parameters:
nr - NodeResForSolver Object to copy its values
Method Detail

id

public int id()
Returns the value of the identifier

Returns:
Integer number with the value of the identifier

val

public double val(java.lang.String type,
                  java.lang.String coor)
Returns the value (movement or reaction) of a certain coordinate

Parameters:
type - String containing the type of data to be stored "move" means to store a movement; "reac" means to store a reaction value
coor - String containing the direction where the value has to be stored. The possible values are "x"; "y" and "z"