Job
class has public data fields: int type
,
int id
and Dictionary<string, double> TimeMap
.
TimeMap
will be used for stamping a pair of an event string
and its occurrence time (we will see examples in Generator
class and Transducer
class later).
There are tree constructors, a string conversion function
ToString()
. The virtual function, Clone()
is
supposed to return a clone of this class instance.
public class Job { public int type; public int id; public Dictionary<string, double> TimeMap; public Job(int Type) {...} public Job(int Type, int Id){...} public Job(Job ob) { ... } public override string ToString(); public virtual Job Clone() { return new Job(this); } }
To generate and to collect instances of Job
class, we will
use two atomic models: Generator
in Generator.cs
and
Transducer
in Transducer.cs
, which are key models in
the experimental frame. For collecting System Time, we will need
the cooperation of both Generator
and Transducer
.