Microscopic Traffic Simulator
Main Page
Packages
Classes
Files
File List
Cell.cs
Go to the documentation of this file.
1
using
Microscopic_Traffic_Simulator___Model
.
TrafficObjects
;
2
using
System
.Windows;
3
4
namespace
Microscopic_Traffic_Simulator___Model
.CellularTopologyObjects
5
{
9
public
class
Cell
10
{
14
private
Point location;
18
public
Point Location {
get
{
return
location; } }
19
23
private
Vector normalizedDirectionVector;
27
public
Vector NormalizedDirectionVector
28
{
29
get
{
return
normalizedDirectionVector; }
set
{ normalizedDirectionVector = value; }
30
}
31
35
private
Car
car;
39
internal
Car
Car
{
get
{
return
car; }
set
{ car = value; } }
40
44
private
Cell
previousCell;
48
public
Cell
PreviousCell {
get
{
return
previousCell; }
set
{ previousCell = value; } }
49
53
private
Cell
followingCell;
57
public
Cell
FollowingCell {
get
{
return
followingCell; }
set
{ followingCell = value; } }
58
62
private
Sensor
sensor;
66
internal
Sensor
Sensor
{
get
{
return
sensor; }
set
{ sensor = value; } }
67
72
internal
Cell
(Point location)
73
{
74
this.location = location;
75
}
76
}
77
}
System
Microscopic_Traffic_Simulator___Model.CellularTopologyObjects.Cell
Class representing cell.
Definition:
Cell.cs:9
Microscopic_Traffic_Simulator___Model.TrafficObjects.Sensor
Class representing sensor.
Definition:
Sensor.cs:14
Microscopic_Traffic_Simulator___Model.TrafficObjects
Definition:
Generator.cs:7
Microscopic_Traffic_Simulator___Model.CellularTopologyObjects.Car
Class representing car
Definition:
Car.cs:11
Microscopic_Traffic_Simulator___Model
Microscopic Traffic Simulator - Model
CellularTopologyObjects
Cell.cs
Generated by
1.8.11