jsim.util
Class Prop

java.lang.Object
  extended by jsim.util.Prop

public class Prop
extends java.lang.Object

Structure to record properties of dynamic nodes.


Field Summary
 Variate costDist
          Cost distribution
 java.awt.Point location
          Location of node on canvas.
 java.lang.String nName
          Name of node.
 int nTokens
          Number of tokens (number of service units, etc.).
 int nType
          Type of node (Node.SERVER, ...).
 Variate timeDist
          Time distribution (service, arrival, etc.).
 
Constructor Summary
Prop(int nType, java.lang.String nName, int nTokens, java.awt.Point location, Variate timeDist, Variate costDist)
          Construct a property set.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nType

public int nType
Type of node (Node.SERVER, ...).


nName

public java.lang.String nName
Name of node.


nTokens

public int nTokens
Number of tokens (number of service units, etc.).


location

public java.awt.Point location
Location of node on canvas.


timeDist

public Variate timeDist
Time distribution (service, arrival, etc.).


costDist

public Variate costDist
Cost distribution

Constructor Detail

Prop

public Prop(int nType,
            java.lang.String nName,
            int nTokens,
            java.awt.Point location,
            Variate timeDist,
            Variate costDist)
Construct a property set.

Parameters:
nType - type of node
nName - name of node
nTokens - number of tokens
timeDist - time distribution
cost - cost of service