Class PlaceNodeParam

java.lang.Object
jline.lang.NodeParam
jline.lang.nodeparam.PlaceNodeParam
All Implemented Interfaces:
Serializable

public class PlaceNodeParam extends NodeParam
Parameters of a Petri-net Place. A FLUID place (FSPN) holds one real level in [0, fluidcap] starting at fluidinit and carries no tokens; an ordinary place leaves fluid false.
See Also:
  • Field Details

    • fluid

      public boolean fluid
      True for a fluid place.
    • fluidcap

      public double fluidcap
      Fluid capacity B, infinite when unbounded.
    • fluidinit

      public double fluidinit
      Initial fluid level.
  • Constructor Details

    • PlaceNodeParam

      public PlaceNodeParam()
    • PlaceNodeParam

      public PlaceNodeParam(NodeParam other)
      Copies the routing fields of an ordinary NodeParam, leaving the place non-fluid.
  • Method Details

    • isEmpty

      public boolean isEmpty()
      Description copied from class: NodeParam
      Checks if this NodeParam contains no configuration data.
      Overrides:
      isEmpty in class NodeParam
      Returns:
      true if all parameter maps are null or empty, false otherwise