|
|
||||||
|
faudes::Time Class Reference Detailed DescriptionType to represent time. The time plugin will compile with integer or float time type. However, we insist in discrete time in the sense that there is a smallest time step. So float time would be cosmetic only. Note that timed generators do not explicitely refer to a physical time unit like e.g. hours or seconds. However, it is assumed, that a fixed conversion factor from values of type Time to some physical unit exists. Thus, we say Time variables hold time in faudes-time units. We feel that this is consistent with Alur's timed automata. Definition at line 41 of file tp_timeinterval.h.
Member Typedef Documentation◆ Type
Datatype for point on time axis. Definition at line 44 of file tp_timeinterval.h. Member Function Documentation◆ FromFloat()Convert From float (for convenient token-reading only) Definition at line 56 of file tp_timeinterval.h. ◆ Max()
Maximum time, associated with infinitiy. Definition at line 46 of file tp_timeinterval.h. ◆ Min()
Minimum time, associated with minus infinitiy. Definition at line 48 of file tp_timeinterval.h. ◆ Quantize()Discretize (when using cosmetic float time: "step*(round(t/step))". Definition at line 54 of file tp_timeinterval.h. ◆ Step()
Smallest representable time step. Definition at line 52 of file tp_timeinterval.h. ◆ Str()
convert to string Definition at line 62 of file tp_timeinterval.h. ◆ UnDef()
Undefined time value. Definition at line 50 of file tp_timeinterval.h. The documentation for this class was generated from the following file: libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |