ORS Android Client
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
ORS Android Client
ORS Android Client
/
org.nitri.ors.domain.optimization
/
OptimizationSummary
Optimization
Summary
@
Serializable
data
class
OptimizationSummary
(
val
cost
:
Int
,
val
routes
:
Int
,
val
unassigned
:
Int
,
val
delivery
:
List
<
Int
>
?
=
null
,
val
amount
:
List
<
Int
>
?
=
null
,
val
pickup
:
List
<
Int
>
?
=
null
,
val
setup
:
Int
,
val
service
:
Int
,
val
duration
:
Int
,
val
waitingTime
:
Int
,
val
priority
:
Int
,
val
violations
:
List
<
Violation
>
=
emptyList()
,
val
computingTimes
:
ComputingTimes
?
=
null
)
Members
Constructors
Optimization
Summary
Link copied to clipboard
constructor
(
cost
:
Int
,
routes
:
Int
,
unassigned
:
Int
,
delivery
:
List
<
Int
>
?
=
null
,
amount
:
List
<
Int
>
?
=
null
,
pickup
:
List
<
Int
>
?
=
null
,
setup
:
Int
,
service
:
Int
,
duration
:
Int
,
waitingTime
:
Int
,
priority
:
Int
,
violations
:
List
<
Violation
>
=
emptyList()
,
computingTimes
:
ComputingTimes
?
=
null
)
Properties
amount
Link copied to clipboard
val
amount
:
List
<
Int
>
?
=
null
computing
Times
Link copied to clipboard
@
SerialName
(
value
=
"computing_times"
)
val
computingTimes
:
ComputingTimes
?
=
null
cost
Link copied to clipboard
val
cost
:
Int
delivery
Link copied to clipboard
val
delivery
:
List
<
Int
>
?
=
null
Totals – present depending on your payload/constraints
duration
Link copied to clipboard
val
duration
:
Int
pickup
Link copied to clipboard
val
pickup
:
List
<
Int
>
?
=
null
priority
Link copied to clipboard
val
priority
:
Int
routes
Link copied to clipboard
val
routes
:
Int
service
Link copied to clipboard
val
service
:
Int
setup
Link copied to clipboard
val
setup
:
Int
unassigned
Link copied to clipboard
val
unassigned
:
Int
violations
Link copied to clipboard
val
violations
:
List
<
Violation
>
Usually empty unless you use hard constraints
waiting
Time
Link copied to clipboard
@
SerialName
(
value
=
"waiting_time"
)
val
waitingTime
:
Int