|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectec.gp.GPNode
ec.gp.sasc.SASCNode
ec.mestrado.problem.func.Asset
ec.mestrado.problem.func.Equity
public class Equity
Esta função representa uma ação negociada em Bolsa de Valores
Field Summary | |
---|---|
String |
asset
|
static double |
CHILDREN_COMPAT_WEIGHT
|
boolean |
dataLoaded
|
static double |
FUNC_COMPAT_WEIGHT
|
double |
media
|
double[] |
normalizedAjusted
|
double |
variance
|
Fields inherited from class ec.mestrado.problem.func.Asset |
---|
P_DERIVATIVES_INFO |
Fields inherited from class ec.gp.sasc.SASCNode |
---|
beta, crossCount, lastSemanticFactor, meanShock, P_BETA, P_DIMENSIONS, P_MEAN_SHOCK, P_SIZE, P_SSSC_BASE, SIGMA_MIN, switched, useLatex |
Fields inherited from class ec.gp.GPNode |
---|
argposition, children, constraints, GPNODEPRINTTAB, MAXPRINTBYTES, NODESEARCH_ALL, NODESEARCH_CUSTOM, NODESEARCH_NONTERMINALS, NODESEARCH_TERMINALS, P_NODE, P_NODECONSTRAINTS, parent, REPLACEMENT_CHAR, SITUATION_MUTATION, SITUATION_NEWIND |
Constructor Summary | |
---|---|
Equity()
|
Method Summary | |
---|---|
void |
carregarDados(EvolutionState state)
Carga dos dados. |
void |
checkConstraints(EvolutionState state,
int tree,
GPIndividual typicalIndividual,
Parameter individualBase)
Consistência para assegurar que trata-se de um nó terminal |
void |
completeSymbolicForm(double qAcumulated,
Hashtable<String,Object[]> equation)
Este método tem a função de montar uma String com a representação da equação. |
boolean |
equals(Object obj)
Método usado para avaliar a relação de igualdade entre dois objetos. |
void |
eval(EvolutionState state,
int thread,
GPData input,
ADFStack stack,
GPIndividual individual,
Problem problem)
Método de avaliação do nó terminal. |
String |
getNodeCode()
Retorna o código de identificação do nó |
String |
getNodeName()
Retorna o nome de identificação do nó |
double |
getSemanticCompatibilityFunction(int n,
SASCNode nodeCompared)
Retorna o valor da função de compatibilidade semântica para a dimensão n |
void |
resetNode(EvolutionState state,
int thread)
Inicialização do nó |
String |
toString()
Retorna o nome do nó, ou a formatação para o desenho em laTeX |
Methods inherited from class ec.mestrado.problem.func.Asset |
---|
getIndexAsset, setup |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String asset
public double[] normalizedAjusted
public double variance
public double media
public boolean dataLoaded
public static final double CHILDREN_COMPAT_WEIGHT
public static final double FUNC_COMPAT_WEIGHT
Constructor Detail |
---|
public Equity()
Method Detail |
---|
public double getSemanticCompatibilityFunction(int n, SASCNode nodeCompared)
getSemanticCompatibilityFunction
in class SASCNode
dimension
- dimensão em que a compatibilidade semântica será avaliadapublic void completeSymbolicForm(double qAcumulated, Hashtable<String,Object[]> equation)
public String getNodeName()
getNodeName
in class SASCNode
public String getNodeCode()
public void checkConstraints(EvolutionState state, int tree, GPIndividual typicalIndividual, Parameter individualBase)
checkConstraints
in class GPNode
public void eval(EvolutionState state, int thread, GPData input, ADFStack stack, GPIndividual individual, Problem problem)
eval
in class GPNode
public void resetNode(EvolutionState state, int thread)
resetNode
in class Asset
public String toString()
toString
in class SASCNode
public boolean equals(Object obj)
equals
in class Object
public void carregarDados(EvolutionState state)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |