public class SurvivalInfo extends Object implements Comparable<SurvivalInfo>
Constructor and Description |
---|
SurvivalInfo(double t,
int e) |
SurvivalInfo(double t,
int e,
LinkedHashMap<String,Double> d) |
SurvivalInfo(double t,
int e,
String variable,
double d) |
public SurvivalInfo(double t, int e)
t
- e
- public SurvivalInfo(double t, int e, LinkedHashMap<String,Double> d)
t
- e
- d
- public SurvivalInfo(double t, int e, String variable, double d)
t
- e
- variable
- d
- public void setResidualVariable(String variable, Double value)
variable
- value
- public Double getResidualVariable(String variable)
variable
- public String getUnknownDataTypeVariable(String variable)
variable
- public String getOriginalMetaData(String variable)
variable
- public void addUnknownDataTypeVariable(String variable, String value)
variable
- value
- public void updateContinousVariable(String variable, Double value)
variable
- value
- public void addContinuousVariable(String variable, Double value)
variable
- value
- public Double getContinuousVariable(String variable)
variable
- public ArrayList<String> getGroupCategories(String groupName)
groupName
- public ArrayList<String> getDataVariables()
public int getNumberVariables()
public Double getVariable(String variable)
variable
- public int compareTo(SurvivalInfo o)
compareTo
in interface Comparable<SurvivalInfo>
public double getOffset()
public void setOffset(double offset)
offset
- the offset to setpublic double getWeight()
public void setWeight(double weight)
weight
- the weight to setpublic int getStrata()
public void setStrata(int strata)
strata
- the strata to setpublic double getScore()
public void setScore(double score)
score
- the score to setpublic double getLinearPredictor()
public void setLinearPredictor(double linearPredictor)
linearPredictor
- the linearPredictor to setpublic double getResidual()
public void setResidual(double residual)
residual
- the residual to setpublic String getClusterValue()
public void setClusterValue(String clusterValue)
clusterValue
- the clusterValue to setpublic int getOrder()
public void setOrder(int order)
order
- the order to setpublic double getTime()
public void setTime(double time)
time
- the time to setpublic int getStatus()
public void setStatus(int status)
status
- the status to setCopyright © 2000–2018 BioJava. All rights reserved.