Class EquNetV2Mov


  • public class EquNetV2Mov
    extends EquNet
    this is the second version ofEqualization Net with moving block (multiple tokens can be in the same place) place) V2 : if the previous speed is 0 to calcul the time for a new token we takes the nominal speed in its next segment
    • Constructor Detail

      • EquNetV2Mov

        public EquNetV2Mov​(String fname)
        instantiate EquNetV2Mov, set the path of the input file and set the neural network used for the regulation
    • Method Detail

      • progressTime

        public void progressTime​(Float delta)
        Description copied from class: PhysicalModel
        advance the time of the delta parameter value and update the status of the transitions (blocked, fireable...)
        Specified by:
        progressTime in class PhysicalModel
      • minimumClock

        public float minimumClock()
        Description copied from class: PhysicalModel
        return the minimum time to advance in order to update the status of tokens or transitions
        Specified by:
        minimumClock in class PhysicalModel