Statement.PSCheckpointing, Statement.PSFrequency, Statement.PSModeType, Statement.PSScheme, Statement.PSUpdateTypeBOOLEAN_VALUE_TYPE, DOUBLE_VALUE_TYPE, FRAME_DATA_TYPE, GAGG_FN, GAGG_FN_CM, GAGG_FN_CM_ORDER, GAGG_FN_COUNT, GAGG_FN_MEAN, GAGG_FN_SUM, GAGG_FN_VARIANCE, GAGG_GROUPS, GAGG_NUM_GROUPS, GAGG_TARGET, GAGG_WEIGHTS, INT_VALUE_TYPE, MATRIX_DATA_TYPE, OUTPUTSTATEMENT, PS_AGGREGATION_FUN, PS_BATCH_SIZE, PS_CHECKPOINTING, PS_EPOCHS, PS_FEATURES, PS_FREQUENCY, PS_GRADIENTS, PS_HYPER_PARAMS, PS_LABELS, PS_MODE, PS_MODEL, PS_PARALLELISM, PS_SCHEME, PS_UPDATE_FUN, PS_UPDATE_TYPE, PS_VAL_FEATURES, PS_VAL_LABELS, SCALAR_DATA_TYPE, SEQ_FROM, SEQ_INCR, SEQ_TO, SETWD, SOURCE, STRING_VALUE_TYPE| Constructor and Description |
|---|
IfStatement() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStatementBlockElseBody(StatementBlock sb) |
void |
addStatementBlockIfBody(StatementBlock sb) |
boolean |
controlStatement() |
ConditionalPredicate |
getConditionalPredicate() |
ArrayList<StatementBlock> |
getElseBody() |
ArrayList<StatementBlock> |
getIfBody() |
VariableSet |
initializebackwardLV(VariableSet lo) |
void |
initializeforwardLV(VariableSet activeIn) |
void |
mergeStatementBlocksElseBody() |
void |
mergeStatementBlocksIfBody() |
Statement |
rewriteStatement(String prefix) |
void |
setConditionalPredicate(ConditionalPredicate pred) |
void |
setElseBody(ArrayList<StatementBlock> body) |
void |
setIfBody(ArrayList<StatementBlock> body) |
String |
toString() |
VariableSet |
variablesRead() |
VariableSet |
variablesUpdated() |
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getFilename, getText, isEmptyNewLineStatement, printErrorLocation, printWarningLocation, raiseValidateError, raiseValidateError, setBeginColumn, setBeginLine, setCtxValues, setCtxValuesAndFilename, setEmptyNewLineStatement, setEndColumn, setEndLine, setFilename, setParseInfo, setTextequals, getClass, hashCode, notify, notifyAll, wait, wait, waitctxAndFilenameToParseInfopublic Statement rewriteStatement(String prefix)
rewriteStatement in class Statementpublic void setConditionalPredicate(ConditionalPredicate pred)
public void addStatementBlockIfBody(StatementBlock sb)
public void addStatementBlockElseBody(StatementBlock sb)
public ConditionalPredicate getConditionalPredicate()
public ArrayList<StatementBlock> getIfBody()
public ArrayList<StatementBlock> getElseBody()
public void setIfBody(ArrayList<StatementBlock> body)
public void setElseBody(ArrayList<StatementBlock> body)
public boolean controlStatement()
controlStatement in class Statementpublic void initializeforwardLV(VariableSet activeIn)
initializeforwardLV in class Statementpublic VariableSet initializebackwardLV(VariableSet lo)
initializebackwardLV in class Statementpublic void mergeStatementBlocksIfBody()
public void mergeStatementBlocksElseBody()
public VariableSet variablesRead()
variablesRead in class Statementpublic VariableSet variablesUpdated()
variablesUpdated in class StatementCopyright © 2020 The Apache Software Foundation. All rights reserved.