public class YieldAnalysis
extends java.lang.Object
implements java.lang.Cloneable
| Constructor and Description |
|---|
YieldAnalysis()
Instantiates a new yield analysis.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRuleRef(YieldAnalysisRuleRef ruleRef)
Adds the rule ref.
|
java.lang.Object |
clone() |
int |
getMaxHeuristicIterations()
Gets the max heuristic iterations.
|
int |
getMaxIterations()
Gets the max iterations.
|
java.util.List<YieldAnalysisRuleRef> |
getYieldAnalysisRuleRefs()
Gets the yield analysis rule refs.
|
boolean |
readFile(java.io.BufferedReader reader)
Read file.
|
void |
setMaxHeuristicIterations(int iter)
Sets the max heuristic iterations.
|
void |
setMaxIterations(int maxIterations)
Sets the max iterations.
|
void |
setRuleRefs(java.util.List<YieldAnalysisRuleRef> rules)
Sets the rule refs.
|
void |
setUseBisectionOnly(boolean set)
Sets the use bisection only.
|
void |
setUseHydropowerRules(boolean useHydropowerRules)
Sets the use hydropower rules.
|
boolean |
useBisectionOnly()
Use bisection only.
|
boolean |
useHydropowerRules()
Use hydropower rules.
|
boolean |
writeFile(java.io.BufferedWriter writer,
RssAlt alt)
Write file.
|
public void addRuleRef(YieldAnalysisRuleRef ruleRef)
ruleRef - the rule refpublic java.util.List<YieldAnalysisRuleRef> getYieldAnalysisRuleRefs()
public void setMaxIterations(int maxIterations)
maxIterations - the new max iterationspublic int getMaxIterations()
public void setUseBisectionOnly(boolean set)
set - the new use bisection onlypublic boolean useBisectionOnly()
public void setMaxHeuristicIterations(int iter)
iter - the new max heuristic iterationspublic int getMaxHeuristicIterations()
public void setUseHydropowerRules(boolean useHydropowerRules)
useHydropowerRules - the new use hydropower rulespublic boolean useHydropowerRules()
public void setRuleRefs(java.util.List<YieldAnalysisRuleRef> rules)
rules - the new rule refspublic boolean writeFile(java.io.BufferedWriter writer,
RssAlt alt)
throws java.io.IOException
writer - 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
reader - the readerjava.io.IOException - Signals that an I/O exception has occurred.public java.lang.Object clone()
clone in class java.lang.Object