public class AnalysisCost
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CUSTOM
Cost option custom.
|
static java.lang.String |
LINE_LENGTH
Cost option Line length.
|
Constructor and Description |
---|
AnalysisCost() |
Modifier and Type | Method and Description |
---|---|
java.util.List<AnalysisCustomizedCost> |
getAnalysisCustomizedCosts()
Returns the analysis customized costs.
|
java.lang.String |
getCostOption()
Returns the cost option.
|
LinkCostCalculator |
getLinkCostCalculator()
Returns the link cost calculator.
|
NodeCostCalculator |
getNodeCostCalculator()
Returns the node cost calculator.
|
void |
setAnalysisCustomizedCosts(java.util.List<AnalysisCustomizedCost> analysisCustomizedCosts)
Sets the analysis customized costs.
|
void |
setCostOption(java.lang.String costOption)
Sets the cost option.
|
void |
setLinkCostCalculator(LinkCostCalculator linkCostCalculator)
Sets the link cost calculator.
|
void |
setNodeCostCalculator(NodeCostCalculator nodeCostCalculator)
Sets the node cost calculator.
|
public static final java.lang.String LINE_LENGTH
public static final java.lang.String CUSTOM
public java.util.List<AnalysisCustomizedCost> getAnalysisCustomizedCosts()
public void setAnalysisCustomizedCosts(java.util.List<AnalysisCustomizedCost> analysisCustomizedCosts)
analysisCustomizedCosts
- analysis customized costs.public java.lang.String getCostOption()
public void setCostOption(java.lang.String costOption)
costOption
- cost option. One of the following constants: AnalysisCost.LINE_LENGTH or AnalysisCost.CUSTOM.public NodeCostCalculator getNodeCostCalculator()
public void setNodeCostCalculator(NodeCostCalculator nodeCostCalculator)
nodeCostCalculator
- node cost calculatorpublic LinkCostCalculator getLinkCostCalculator()
public void setLinkCostCalculator(LinkCostCalculator linkCostCalculator)
linkCostCalculator
- link cost calculator