Package | Description |
---|---|
org.opentripplanner.routing.impl |
Modifier and Type | Field and Description |
---|---|
protected Map<Fare.FareType,Collection<FareRuleSet>> |
DefaultFareServiceImpl.fareRulesPerType
For each fare type (regular, student, etc...) the collection of rules that apply.
|
protected Map<FeedScopedId,FareRuleSet> |
DefaultFareServiceFactory.regularFareRules |
Modifier and Type | Method and Description |
---|---|
void |
DefaultFareServiceImpl.addFareRules(Fare.FareType fareType,
Collection<FareRuleSet> fareRules) |
protected float |
DefaultFareServiceImpl.calculateCost(Fare.FareType fareType,
List<org.opentripplanner.routing.impl.Ride> rides,
Collection<FareRuleSet> fareRules) |
protected void |
DefaultFareServiceFactory.fillFareRules(String agencyId,
Collection<FareAttribute> fareAttributes,
Collection<FareRule> fareRules,
Map<FeedScopedId,FareRuleSet> fareRuleSet) |
protected float |
DefaultFareServiceImpl.getLowestCost(Fare.FareType fareType,
List<org.opentripplanner.routing.impl.Ride> rides,
Collection<FareRuleSet> fareRules) |
protected float |
DutchFareServiceImpl.getLowestCost(Fare.FareType fareType,
List<org.opentripplanner.routing.impl.Ride> rides,
Collection<FareRuleSet> fareRules) |
protected float |
SFBayFareServiceImpl.getLowestCost(Fare.FareType fareType,
List<org.opentripplanner.routing.impl.Ride> rides,
Collection<FareRuleSet> fareRules) |
protected boolean |
DefaultFareServiceImpl.populateFare(Fare fare,
Currency currency,
Fare.FareType fareType,
List<org.opentripplanner.routing.impl.Ride> rides,
Collection<FareRuleSet> fareRules)
Builds the Fare object for the given currency, fareType and fareRules.
|
protected boolean |
DutchFareServiceImpl.populateFare(Fare fare,
Currency currency,
Fare.FareType fareType,
List<org.opentripplanner.routing.impl.Ride> rides,
Collection<FareRuleSet> fareRules)
This overridden method completely ignores the Currency object supplied by the caller.
|
protected boolean |
SFBayFareServiceImpl.populateFare(Fare fare,
Currency currency,
Fare.FareType fareType,
List<org.opentripplanner.routing.impl.Ride> rides,
Collection<FareRuleSet> fareRules) |
Constructor and Description |
---|
DutchFareServiceImpl(Collection<FareRuleSet> regularFareRules) |
SFBayFareServiceImpl(Collection<FareRuleSet> regularFareRules) |
Copyright © 2019. All rights reserved.