next up previous contents
Next: Vehicles on links Up: Cellular automata micro-simulation Previous: Introduction   Contents

Vehicles

Now, we need vehicles. We will start very simplistic:


{}
class Veh {
private:
    Id id_ ;
public:
    set_id( Id val ) { id_ = val ; }
    Id id() { return id_ ; }
}



2004-02-02