public class ForStatement extends Statement
Statement.PSCheckpointing, Statement.PSFrequency, Statement.PSModeType, Statement.PSScheme, Statement.PSUpdateType
BOOLEAN_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 |
---|
ForStatement() |
Modifier and Type | Method and Description |
---|---|
void |
addStatementBlock(StatementBlock sb) |
boolean |
controlStatement() |
ArrayList<StatementBlock> |
getBody() |
IterablePredicate |
getIterablePredicate() |
VariableSet |
initializebackwardLV(VariableSet lo) |
void |
initializeforwardLV(VariableSet activeIn) |
void |
mergeStatementBlocks() |
Statement |
rewriteStatement(String prefix) |
void |
setBody(ArrayList<StatementBlock> body) |
void |
setPredicate(IterablePredicate pred) |
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, setText
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
ctxAndFilenameToParseInfo
public Statement rewriteStatement(String prefix)
rewriteStatement
in class Statement
public void setPredicate(IterablePredicate pred)
public void addStatementBlock(StatementBlock sb)
public IterablePredicate getIterablePredicate()
public ArrayList<StatementBlock> getBody()
public void setBody(ArrayList<StatementBlock> body)
public boolean controlStatement()
controlStatement
in class Statement
public void mergeStatementBlocks()
public void initializeforwardLV(VariableSet activeIn)
initializeforwardLV
in class Statement
public VariableSet initializebackwardLV(VariableSet lo)
initializebackwardLV
in class Statement
public VariableSet variablesRead()
variablesRead
in class Statement
public VariableSet variablesUpdated()
variablesUpdated
in class Statement
Copyright © 2020 The Apache Software Foundation. All rights reserved.