public static final class MatchGraphRequest.Options extends Object
GPS_NOISE
: GPS
noise value (in meters) to remove redundant sample points. Use -1 to
disable noise reduction. The default value accounts for 95% of point
variation (+ or -5 meters). The default value is '5.0'.
NUM_SEGMENTS
:
Maximum number of potentially matching road segments for each sample
point. For the markov_chain
solver, the default is 3. The
default value is '3'.
SEARCH_RADIUS
: Maximum search radius used when snapping sample points
onto potentially matching surrounding segments. The default value
corresponds to approximately 100 meters. The default value is '0.001'.
CHAIN_WIDTH
:
For the markov_chain
solver only. Length of the sample points
lookahead window within the Markov kernel; the larger the number, the
more accurate the solution. The default value is '9'.
SOURCE
: Optional WKT starting point from samplePoints
for the
solver. The default behavior for the endpoint is to use time to
determine the starting point. The default value is 'POINT NULL'.
DESTINATION
:
Optional WKT ending point from samplePoints
for the solver. The
default behavior for the endpoint is to use time to determine the
destination point. The default value is 'POINT NULL'.
PARTIAL_LOADING
: For the match_supply_demand
solver only. When
false (non-default), trucks do not off-load at the demand (store) side
if the remainder is less than the store's need
Supported values:
TRUE
: Partial off-loading at multiple store (demand) locations
FALSE
: No partial off-loading allowed if supply is less than the
store's demand.
TRUE
.
MAX_COMBINATIONS
: For the match_supply_demand
solver only. This
is the cutoff for the number of generated combinations for sequencing
the demand locations - can increase this up to 2M. The default value is
'10000'.
LEFT_TURN_PENALTY
: This will add an additonal weight over the edges
labelled as 'left turn' if the 'add_turn' option parameter of the GPUdb.createGraph(CreateGraphRequest)
was invoked at graph
creation. The default value is '0.0'.
RIGHT_TURN_PENALTY
: This will add an additonal weight over the edges
labelled as' right turn' if the 'add_turn' option parameter of the
GPUdb.createGraph(CreateGraphRequest)
was invoked at
graph creation. The default value is '0.0'.
INTERSECTION_PENALTY
: This will add an additonal weight over the edges
labelled as 'intersection' if the 'add_turn' option parameter of the
GPUdb.createGraph(CreateGraphRequest)
was invoked at
graph creation. The default value is '0.0'.
SHARP_TURN_PENALTY
: This will add an additonal weight over the edges
labelled as 'sharp turn' or 'u-turn' if the 'add_turn' option parameter
of the GPUdb.createGraph(CreateGraphRequest)
was
invoked at graph creation. The default value is '0.0'.
AGGREGATED_OUTPUT
: For the match_supply_demand
solver only.
When it is true (default), each record in the output table shows a
particular truck's scheduled cumulative round trip path
(MULTILINESTRING) and the corresponding aggregated cost. Otherwise, each
record shows a single scheduled truck route (LINESTRING) towards a
particular demand location (store id) with its corresponding cost. The
default value is 'true'.
MAX_TRIP_COST
: For the match_supply_demand
solver only. If this
constraint is greater than zero (default) then the trucks will skip
travelling from one demand location to another if the cost between them
is greater than this number (distance or time). Zero (default) value
means no check is performed. The default value is '0.0'.
FILTER_FOLDING_PATHS
: For the markov_chain
solver only. When
true (non-default), the paths per sequence combination is checked for
folding over patterns and can significantly increase the execution time
depending on the chain width and the number of gps samples.
Supported values:
The default value is FALSE
.
UNIT_UNLOADING_COST
: For the match_supply_demand
solver only.
The unit cost per load amount to be delivered. If this value is greater
than zero (default) then the additional cost of this unit load
multiplied by the total dropped load will be added over to the trip cost
to the demand location. The default value is '0.0'.
MAX_NUM_THREADS
: For the markov_chain
solver only. If specified
(greater than zero), the maximum number of threads will not be greater
than the specified value. It can be lower due to the memory and the
number cores available. Default value of zero allows the algorithm to
set the maximal number of threads within these constraints. The default
value is '0'.
TRUCK_SERVICE_LIMIT
: For the match_supply_demand
solver only.
If specified (greather than zero), any truck's total service cost
(distance or time) will be limited by the specified value including
multiple rounds (if set). The default value is '0.0'.
ENABLE_TRUCK_REUSE
: For the match_supply_demand
solver only. If
specified (true), all trucks can be scheduled for second rounds from
their originating depots.
Supported values:
TRUE
: Allows reusing trucks for scheduling again.
FALSE
: Trucks are scheduled only once from their depots.
FALSE
.
Map
.
A set of string constants for the parameter options
.Modifier and Type | Field and Description |
---|---|
static String |
AGGREGATED_OUTPUT
For the
match_supply_demand solver only. |
static String |
CHAIN_WIDTH
For the
markov_chain solver only. |
static String |
DESTINATION
Optional WKT ending point from
samplePoints for the solver. |
static String |
ENABLE_TRUCK_REUSE
For the
match_supply_demand solver only. |
static String |
FALSE
Trucks are scheduled only once from their depots.
|
static String |
FILTER_FOLDING_PATHS
For the
markov_chain solver only. |
static String |
GPS_NOISE
GPS noise value (in meters) to remove redundant sample points.
|
static String |
INTERSECTION_PENALTY
This will add an additonal weight over the edges labelled as
'intersection' if the 'add_turn' option parameter of the
GPUdb.createGraph(CreateGraphRequest) was invoked at
graph creation. |
static String |
LEFT_TURN_PENALTY
This will add an additonal weight over the edges labelled as 'left
turn' if the 'add_turn' option parameter of the
GPUdb.createGraph(CreateGraphRequest) was invoked at
graph creation. |
static String |
MAX_COMBINATIONS
For the
match_supply_demand solver only. |
static String |
MAX_NUM_THREADS
For the
markov_chain solver only. |
static String |
MAX_TRIP_COST
For the
match_supply_demand solver only. |
static String |
NUM_SEGMENTS
Maximum number of potentially matching road segments for each sample
point.
|
static String |
PARTIAL_LOADING
For the
match_supply_demand solver only. |
static String |
RIGHT_TURN_PENALTY
This will add an additonal weight over the edges labelled as' right
turn' if the 'add_turn' option parameter of the
GPUdb.createGraph(CreateGraphRequest) was invoked at
graph creation. |
static String |
SEARCH_RADIUS
Maximum search radius used when snapping sample points onto
potentially matching surrounding segments.
|
static String |
SHARP_TURN_PENALTY
This will add an additonal weight over the edges labelled as 'sharp
turn' or 'u-turn' if the 'add_turn' option parameter of the
GPUdb.createGraph(CreateGraphRequest) was invoked at
graph creation. |
static String |
SOURCE
Optional WKT starting point from
samplePoints for the
solver. |
static String |
TRUCK_SERVICE_LIMIT
For the
match_supply_demand solver only. |
static String |
TRUE
Allows reusing trucks for scheduling again.
|
static String |
UNIT_UNLOADING_COST
For the
match_supply_demand solver only. |
public static final String GPS_NOISE
public static final String NUM_SEGMENTS
markov_chain
solver, the default is 3. The
default value is '3'.public static final String SEARCH_RADIUS
public static final String CHAIN_WIDTH
markov_chain
solver only. Length of the sample
points lookahead window within the Markov kernel; the larger the
number, the more accurate the solution. The default value is '9'.public static final String SOURCE
samplePoints
for the
solver. The default behavior for the endpoint is to use time to
determine the starting point. The default value is 'POINT NULL'.public static final String DESTINATION
samplePoints
for the solver.
The default behavior for the endpoint is to use time to determine
the destination point. The default value is 'POINT NULL'.public static final String PARTIAL_LOADING
match_supply_demand
solver only. When false
(non-default), trucks do not off-load at the demand (store) side if
the remainder is less than the store's need
Supported values:
TRUE
: Partial
off-loading at multiple store (demand) locations
FALSE
: No
partial off-loading allowed if supply is less than the store's
demand.
TRUE
.public static final String TRUE
public static final String FALSE
public static final String MAX_COMBINATIONS
match_supply_demand
solver only. This is the cutoff
for the number of generated combinations for sequencing the demand
locations - can increase this up to 2M. The default value is
'10000'.public static final String LEFT_TURN_PENALTY
GPUdb.createGraph(CreateGraphRequest)
was invoked at
graph creation. The default value is '0.0'.public static final String RIGHT_TURN_PENALTY
GPUdb.createGraph(CreateGraphRequest)
was invoked at
graph creation. The default value is '0.0'.public static final String INTERSECTION_PENALTY
GPUdb.createGraph(CreateGraphRequest)
was invoked at
graph creation. The default value is '0.0'.public static final String SHARP_TURN_PENALTY
GPUdb.createGraph(CreateGraphRequest)
was invoked at
graph creation. The default value is '0.0'.public static final String AGGREGATED_OUTPUT
match_supply_demand
solver only. When it is true
(default), each record in the output table shows a particular
truck's scheduled cumulative round trip path (MULTILINESTRING) and
the corresponding aggregated cost. Otherwise, each record shows a
single scheduled truck route (LINESTRING) towards a particular
demand location (store id) with its corresponding cost. The default
value is 'true'.public static final String MAX_TRIP_COST
match_supply_demand
solver only. If this constraint
is greater than zero (default) then the trucks will skip travelling
from one demand location to another if the cost between them is
greater than this number (distance or time). Zero (default) value
means no check is performed. The default value is '0.0'.public static final String FILTER_FOLDING_PATHS
markov_chain
solver only. When true (non-default),
the paths per sequence combination is checked for folding over
patterns and can significantly increase the execution time depending
on the chain width and the number of gps samples.
Supported values:
The default value is FALSE
.public static final String UNIT_UNLOADING_COST
match_supply_demand
solver only. The unit cost per
load amount to be delivered. If this value is greater than zero
(default) then the additional cost of this unit load multiplied by
the total dropped load will be added over to the trip cost to the
demand location. The default value is '0.0'.public static final String MAX_NUM_THREADS
markov_chain
solver only. If specified (greater than
zero), the maximum number of threads will not be greater than the
specified value. It can be lower due to the memory and the number
cores available. Default value of zero allows the algorithm to set
the maximal number of threads within these constraints. The default
value is '0'.public static final String TRUCK_SERVICE_LIMIT
match_supply_demand
solver only. If specified
(greather than zero), any truck's total service cost (distance or
time) will be limited by the specified value including multiple
rounds (if set). The default value is '0.0'.public static final String ENABLE_TRUCK_REUSE
match_supply_demand
solver only. If specified
(true), all trucks can be scheduled for second rounds from their
originating depots.
Supported values:
TRUE
: Allows
reusing trucks for scheduling again.
FALSE
: Trucks
are scheduled only once from their depots.
FALSE
.Copyright © 2020. All rights reserved.