Package de.aeb.xnsg.simplerouting.bf
Class RoutingProposalDTO
java.lang.Object
de.aeb.xnsg.simplerouting.bf.RoutingProposalDTO
Main DTO to hold data on a proposal.
Each leg contains information on services enriched with supplements as additional information. The entirety of legs describes one proposal.
Individual proposals are comparable by their score and can be ordered by their sortNumber. Score and sortNumber are calculated based on supplements by a rating profile. Two proposals might have the same score but have different sort numbers.
Each leg contains information on services enriched with supplements as additional information. The entirety of legs describes one proposal.
Individual proposals are comparable by their score and can be ordered by their sortNumber. Score and sortNumber are calculated based on supplements by a rating profile. Two proposals might have the same score but have different sort numbers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionArray of supplements for this routing proposal.The legs ('parts') of a whole transport chain.Schedule calculation information of the proposal.Score of the proposal.1,2,3,... -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
legs
The legs ('parts') of a whole transport chain. Typically only one element. -
score
Score of the proposal. Proposals may have equal score if they are ranked as equal by the rating profile.length = 15 <\p>
scale = 3 <\p>
-
sortNumber
1,2,3,...length = 10 <\p>
-
effectiveSupplements
Array of supplements for this routing proposal. -
routeSchedule
Schedule calculation information of the proposal. If not provided, no schedule calculation has been done for the route.
-
-
Constructor Details
-
RoutingProposalDTO
public RoutingProposalDTO()
-