Class SpatialGraphOptions
This class provides all relevant options for building
the ISpatialGraphEnvironment.
Inheritance
System.Object
SpatialGraphOptions
Namespace: Mars.Interfaces.Model.Options
Assembly: Mars.Interfaces.dll
Syntax
public class SpatialGraphOptions : object
Constructors
SpatialGraphOptions()
Creates a new SpatialGraphOptions
Declaration
public SpatialGraphOptions()
Properties
CacheKey
Declaration
public string CacheKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GraphImports
Gets or sets the collection, containing multiple graphs
for different modalities.
Declaration
public List<Input> GraphImports { get; set; }
Property Value
Type | Description |
---|---|
List<Input> |
UseCache
Gets ors sets the flag indicating that the import for the ISpatialGraphEnvironment
shall be cached or not.
Declaration
public bool UseCache { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UseCompressedPathDatabase
Gets ors sets the flag indicating that a compressed path database shall be used to precompute
all shortest paths and use speedup the routing.
Declaration
public bool UseCompressedPathDatabase { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This flag should mostly and only be used when also UseCache is true, since precomputing
all paths is cost-intensive operation.
WorldIndex
Gets or sets the flag, indicating that the ISpatialGraphEnvironment index the network
Declaration
public bool WorldIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |