MATSIM
Public Member Functions | Private Attributes | List of all members
org.matsim.vehicles.CostInformation Class Reference
Inheritance diagram for org.matsim.vehicles.CostInformation:
Inheritance graph
[legend]

Public Member Functions

Double getFixedCosts ()
 
Double getCostsPerMeter ()
 
Double getCostsPerSecond ()
 
Attributes getAttributes ()
 
CostInformation setFixedCost (Double fixed)
 
CostInformation setCostsPerMeter (Double perMeter)
 
CostInformation setCostsPerSecond (Double perSecond)
 
double getFix ()
 
double getPerDistanceUnit ()
 
double getPerTimeUnit ()
 

Private Attributes

Double fixed
 
Double perMeter
 
Double perSecond
 
Attributes attributes = new AttributesImpl()
 

Detailed Description

Definition at line 25 of file CostInformation.java.

Member Function Documentation

◆ getFixedCosts()

Double org.matsim.vehicles.CostInformation.getFixedCosts ( )

◆ getCostsPerMeter()

Double org.matsim.vehicles.CostInformation.getCostsPerMeter ( )

◆ getCostsPerSecond()

Double org.matsim.vehicles.CostInformation.getCostsPerSecond ( )

◆ getAttributes()

Attributes org.matsim.vehicles.CostInformation.getAttributes ( )

◆ setFixedCost()

CostInformation org.matsim.vehicles.CostInformation.setFixedCost ( Double  fixed)

Definition at line 49 of file CostInformation.java.

References org.matsim.vehicles.CostInformation.fixed.

49  {
50  this.fixed = fixed;
51  return this ;
52  }

◆ setCostsPerMeter()

CostInformation org.matsim.vehicles.CostInformation.setCostsPerMeter ( Double  perMeter)

Definition at line 53 of file CostInformation.java.

References org.matsim.vehicles.CostInformation.perMeter.

53  {
54  this.perMeter = perMeter;
55  return this ;
56  }

◆ setCostsPerSecond()

CostInformation org.matsim.vehicles.CostInformation.setCostsPerSecond ( Double  perSecond)

Definition at line 57 of file CostInformation.java.

References org.matsim.vehicles.CostInformation.perSecond.

Referenced by org.matsim.vehicles.VehicleUtils.copyFromTo().

57  {
58  this.perSecond = perSecond;
59  return this ;
60  }

◆ getFix()

double org.matsim.vehicles.CostInformation.getFix ( )

Definition at line 62 of file CostInformation.java.

References org.matsim.vehicles.CostInformation.getFixedCosts().

62  {
63  return getFixedCosts() ;
64  }
Here is the call graph for this function:

◆ getPerDistanceUnit()

double org.matsim.vehicles.CostInformation.getPerDistanceUnit ( )

Definition at line 66 of file CostInformation.java.

References org.matsim.vehicles.CostInformation.getCostsPerMeter().

66  {
67  return getCostsPerMeter() ;
68  }
Here is the call graph for this function:

◆ getPerTimeUnit()

double org.matsim.vehicles.CostInformation.getPerTimeUnit ( )

Definition at line 70 of file CostInformation.java.

References org.matsim.vehicles.CostInformation.getCostsPerSecond().

70  {
71  return getCostsPerSecond() ;
72  }
Here is the call graph for this function:

Member Data Documentation

◆ fixed

Double org.matsim.vehicles.CostInformation.fixed
private

◆ perMeter

Double org.matsim.vehicles.CostInformation.perMeter
private

◆ perSecond

Double org.matsim.vehicles.CostInformation.perSecond
private

◆ attributes

Attributes org.matsim.vehicles.CostInformation.attributes = new AttributesImpl()
private

The documentation for this class was generated from the following file: