Class CausePrinter

java.lang.Object
org.opentrafficsim.trafficcontrol.trafcod.CausePrinter

class CausePrinter extends Object
Class that can print a text version describing why a variable changed. Any work that has to be done (such as a call to TrafCOD.printRule) is deferred until the toString method is called.
  • Constructor Details

    • CausePrinter

      CausePrinter(Object cause)
      Construct a new CausePrinter object.
      Parameters:
      cause - Object; this should be either a String, or a Object[] that contains a tokenized TrafCOD rule.
  • Method Details