Class SpatialGraphOptions
This class provides all relevant options for building
the ISpatialGraphEnvironment.
Inheritance
System.Object
SpatialGraphOptions
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: Mars.Interfaces.Model.Options
Assembly: Mars.Interfaces.dll
Syntax
[MessagePackObject(true)]
public class SpatialGraphOptions
Constructors
| Improve this Doc View SourceSpatialGraphOptions()
Creates a new SpatialGraphOptions
Declaration
public SpatialGraphOptions()
Properties
| Improve this Doc View SourceCacheKey
This class provides all relevant options for building
the ISpatialGraphEnvironment.
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
[JsonIgnore]
[IgnoreMember]
public List<Input> GraphImports { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Input> |
ShortestCpdFile
Gets ors sets the compressed path database file to use for efficient routing.
Declaration
[JsonProperty("shortestCpdFile", NullValueHandling = NullValueHandling.Ignore)]
public string ShortestCpdFile { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UseCache
Gets ors sets the flag indicating that the import for the ISpatialGraphEnvironment
shall be cached or not.
Declaration
[JsonProperty("useCache", NullValueHandling = NullValueHandling.Ignore)]
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
[JsonProperty("useCompressPathDatabase", NullValueHandling = NullValueHandling.Ignore)]
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.
|
Improve this Doc
View Source
UseWorldIndex
Gets or sets the flag, indicating that the ISpatialGraphEnvironment index the network
Declaration
[JsonProperty("useWorldIndex", NullValueHandling = NullValueHandling.Ignore)]
public bool UseWorldIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
WorldIndexNetworkFile
Gets ors sets the world index network file containing the k-nn graph structure
for efficient nearest operations.
Declaration
[JsonProperty("worldIndexNetworkFile", NullValueHandling = NullValueHandling.Ignore)]
public string WorldIndexNetworkFile { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WorldIndexVectorFile
Gets ors sets the world index vector file, containing all features of the
multidimensional data, used for efficient nearest operations.
Declaration
[JsonProperty("worldIndexVectorFile", NullValueHandling = NullValueHandling.Ignore)]
public string WorldIndexVectorFile { get; set; }
Property Value
Type | Description |
---|---|
System.String |