Class TripsOutputAdapter
Provides the possibility to save the trips of given agents in a trips.json-file
Inheritance
System.Object
TripsOutputAdapter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SOHMultimodalModel.Output.Trips
Assembly: SOHMultimodalModel.dll
Syntax
public static class TripsOutputAdapter
Properties
| Improve this Doc View SourceFileNamePrefix
Give the created files a different name.
Declaration
public static string FileNamePrefix { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FileNameSuffix
Give the created file a different Suffix (e.g. trips_cars.geojson instead of trips.geojson)
Declaration
public static string FileNameSuffix { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourcePrintTripResult(ITripSavingAgent[])
The given agents have stored their trip as a list of trip positions.
These are converted and stored in a geojson-file.
Declaration
public static void PrintTripResult(params ITripSavingAgent[] agents)
Parameters
Type | Name | Description |
---|---|---|
ITripSavingAgent[] | agents | Hold all trip information. |
PrintTripResult(IEnumerable<ITripSavingAgent>)
The given agents have stored their trip as a list of trip positions.
These are converted and stored in a geojson-file.
Declaration
public static void PrintTripResult(IEnumerable<ITripSavingAgent> agents)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ITripSavingAgent> | agents | Hold all trip information. |