City Based Parking and Routing System API Documentation

RouteStatistics Members

RouteStatistics overview

Public Instance Constructors

RouteStatistics Constructor Default constructor

Public Instance Properties

GetAvarageRoadsTraveld Gets the average roads traveled.
GetAvarageTravelTime Gets the average travel time for all vehicles.
Vehicles Gets the number of vehicles in this running average.

Public Instance Methods

Add Adds the info of a vehicle to the running average.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Reset Resets the route statistics
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

_RoadsTraveled The total number of roads traveled.
_TravelTimes The total travel time for all the vehicles.
_Vehicles The number of vehicles that added their stats

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

RouteStatistics Class | CBPRS.Infrastructure Namespace