Class CharyparNagelLegScoring
- java.lang.Object
-
- org.matsim.deprecated.scoring.functions.CharyparNagelLegScoring
-
- All Implemented Interfaces:
ScoringFunctionAccumulator.ArbitraryEventScoring
,ScoringFunctionAccumulator.BasicScoring
,ScoringFunctionAccumulator.LegScoring
@Deprecated public class CharyparNagelLegScoring extends Object implements ScoringFunctionAccumulator.LegScoring, ScoringFunctionAccumulator.ArbitraryEventScoring
Deprecated.This is a re-implementation of the original CharyparNagel function, based on a modular approach.- Author:
- rashid_waraich
- See Also:
- http://www.matsim.org/node/263
-
-
Field Summary
Fields Modifier and Type Field Description protected Network
network
Deprecated.protected ScoringParameters
params
Deprecated.The parameters used for scoringprotected double
score
Deprecated.
-
Constructor Summary
Constructors Constructor Description CharyparNagelLegScoring(ScoringParameters params, Network network)
Deprecated.CharyparNagelLegScoring(ScoringParameters params, Network network, TransitSchedule transitSchedule)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected double
calcLegScore(double departureTime, double arrivalTime, Leg leg)
Deprecated.void
endLeg(double time)
Deprecated.void
finish()
Deprecated.double
getScore()
Deprecated.void
handleEvent(Event event)
Deprecated.void
reset()
Deprecated.void
startLeg(double time, Leg leg)
Deprecated.
-
-
-
Field Detail
-
score
protected double score
Deprecated.
-
params
protected final ScoringParameters params
Deprecated.The parameters used for scoring
-
-
Constructor Detail
-
CharyparNagelLegScoring
@Deprecated public CharyparNagelLegScoring(ScoringParameters params, Network network)
Deprecated.
-
CharyparNagelLegScoring
@Deprecated public CharyparNagelLegScoring(ScoringParameters params, Network network, TransitSchedule transitSchedule)
Deprecated.
-
-
Method Detail
-
reset
public void reset()
Deprecated.- Specified by:
reset
in interfaceScoringFunctionAccumulator.BasicScoring
-
startLeg
@Deprecated public void startLeg(double time, Leg leg)
Deprecated.- Specified by:
startLeg
in interfaceScoringFunctionAccumulator.LegScoring
-
endLeg
@Deprecated public void endLeg(double time)
Deprecated.- Specified by:
endLeg
in interfaceScoringFunctionAccumulator.LegScoring
-
finish
public void finish()
Deprecated.- Specified by:
finish
in interfaceScoringFunctionAccumulator.BasicScoring
-
getScore
public double getScore()
Deprecated.- Specified by:
getScore
in interfaceScoringFunctionAccumulator.BasicScoring
-
calcLegScore
protected double calcLegScore(double departureTime, double arrivalTime, Leg leg)
Deprecated.
-
handleEvent
public void handleEvent(Event event)
Deprecated.- Specified by:
handleEvent
in interfaceScoringFunctionAccumulator.ArbitraryEventScoring
-
-