Microscopic Traffic Simulator

- Main Page
- Packages
- Classes
- Files

- File List

StartNode.cs
Go to the documentation of this file.
1 using Microscopic_Traffic_Simulator___Model.TrafficObjects;
2 using System;
3 using System.Windows;
4
5 namespace Microscopic_Traffic_Simulator___Model.GeometricObjects.Nodes
6 {
10 [Serializable]
11 public class StartNode : Node
12 {
16 public Generator Generator { get; set; }
17
21 public bool ContainsGenerator { get { return Generator != null; } }
22
27 public StartNode(Point location) : base(location) { }
28 }
29 }
System
Microscopic_Traffic_Simulator___Model.TrafficObjects.Generator
Represents generator of cars.
Definition: Generator.cs:13
Microscopic_Traffic_Simulator___Model.TrafficObjects
Definition: Generator.cs:7
Microscopic_Traffic_Simulator___Model.GeometricObjects.Nodes.StartNode.StartNode
StartNode(Point location)
Constructs node on the beginning of the lane.
Definition: StartNode.cs:27
Microscopic_Traffic_Simulator___Model.GeometricObjects.Nodes.StartNode
Node on the beginning of the lane and can also contain generator.
Definition: StartNode.cs:11
Microscopic_Traffic_Simulator___Model
Microscopic_Traffic_Simulator___Model.GeometricObjects.Nodes.Node
Class representing an object in topology on lane.
Definition: Node.cs:10