public class SeattleFareServiceImpl extends DefaultFareServiceImpl
Modifier and Type | Field and Description |
---|---|
static String |
CT_CT_AGENCY_ID |
static String |
KCM_EOS_AGENCY_ID |
static String |
KCM_KCM_AGENCY_ID |
static String |
KCM_KMD_AGENCY_ID |
static String |
KCM_ST_AGENCY_ID |
static String |
PT_PT_AGENCY_ID |
static String |
PT_ST_AGENCY_ID |
static String |
ST_ST_AGENCY_ID |
static int |
TRANSFER_DURATION_SEC |
fareRulesPerType
Constructor and Description |
---|
SeattleFareServiceImpl(Collection<FareRuleSet> regularFareRules,
Collection<FareRuleSet> youthFareRules,
Collection<FareRuleSet> seniorFareRules) |
Modifier and Type | Method and Description |
---|---|
void |
addDefaultFare(Fare.FareType fareType,
String agencyId,
float cost) |
protected float |
getLowestCost(Fare.FareType fareType,
List<org.opentripplanner.routing.impl.Ride> rides,
Collection<FareRuleSet> fareRules) |
addFareRules, calculateCost, createRides, getCost
public static final String KCM_EOS_AGENCY_ID
public static final String KCM_KCM_AGENCY_ID
public static final String KCM_ST_AGENCY_ID
public static final String KCM_KMD_AGENCY_ID
public static final String PT_PT_AGENCY_ID
public static final String PT_ST_AGENCY_ID
public static final String ST_ST_AGENCY_ID
public static final String CT_CT_AGENCY_ID
public static final int TRANSFER_DURATION_SEC
public SeattleFareServiceImpl(Collection<FareRuleSet> regularFareRules, Collection<FareRuleSet> youthFareRules, Collection<FareRuleSet> seniorFareRules)
public void addDefaultFare(Fare.FareType fareType, String agencyId, float cost)
protected float getLowestCost(Fare.FareType fareType, List<org.opentripplanner.routing.impl.Ride> rides, Collection<FareRuleSet> fareRules)
getLowestCost
in class DefaultFareServiceImpl
Copyright © 2016. All rights reserved.