public class WaterAccountYieldAnalysis extends YieldAnalysis implements java.lang.Cloneable
| Constructor and Description |
|---|
WaterAccountYieldAnalysis()
Instantiates a new reservoir yield analysis.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
double |
getTolerence()
Gets the tolerance.
|
WaterAccount |
getWaterAccount()
Gets the water account.
|
int |
getWaterAccountIndex()
Gets the water account index.
|
boolean |
readFile(java.io.BufferedReader reader)
Read file.
|
void |
setTolerence(double i)
Sets the tolerance.
|
void |
setWaterAccount(WaterAccount wa)
Sets the water account.
|
void |
setWaterAccountIndex(int waterAccountIndex)
Sets the water account.
|
boolean |
writeFile(java.io.BufferedWriter writer,
RssAlt alt)
Write file.
|
addRuleRef, getMaxHeuristicIterations, getMaxIterations, getYieldAnalysisRuleRefs, setMaxHeuristicIterations, setMaxIterations, setRuleRefs, setUseBisectionOnly, setUseHydropowerRules, useBisectionOnly, useHydropowerRulespublic WaterAccountYieldAnalysis()
public void setTolerence(double i)
i - the new tolerancepublic double getTolerence()
public void setWaterAccountIndex(int waterAccountIndex)
waterAccountIndex - the new water account indexpublic int getWaterAccountIndex()
public WaterAccount getWaterAccount()
public void setWaterAccount(WaterAccount wa)
public boolean writeFile(java.io.BufferedWriter writer,
RssAlt alt)
throws java.io.IOException
writeFile in class YieldAnalysiswriter - the writeralt - the altjava.io.IOException - Signals that an I/O exception has occurred.public boolean readFile(java.io.BufferedReader reader)
throws java.io.IOException
YieldAnalysisreadFile in class YieldAnalysisreader - the readerjava.io.IOException - Signals that an I/O exception has occurred.public java.lang.Object clone()
clone in class YieldAnalysis