Package org.apache.sysds.parser
Class IfStatement
- java.lang.Object
- 
- org.apache.sysds.parser.Statement
- 
- org.apache.sysds.parser.IfStatement
 
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.apache.sysds.parser.StatementStatement.FederatedPSScheme, Statement.PSCheckpointing, Statement.PSFrequency, Statement.PSModeType, Statement.PSRuntimeBalancing, Statement.PSScheme, Statement.PSUpdateType
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.sysds.parser.StatementBOOLEAN_VALUE_TYPE, DOUBLE_VALUE_TYPE, FRAME_DATA_TYPE, GAGG_FN, GAGG_FN_CM, GAGG_FN_CM_ORDER, GAGG_FN_COUNT, GAGG_FN_MAX, GAGG_FN_MEAN, GAGG_FN_MIN, 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_FED_AGGREGATION_FNAME, PS_FED_BATCH_SIZE, PS_FED_DATA_SIZE, PS_FED_GRADIENTS_FNAME, PS_FED_MODEL_VARID, PS_FED_NAMESPACE, PS_FED_POSS_BATCHES_LOCAL, PS_FED_RUNTIME_BALANCING, PS_FED_WEIGHTING, PS_FREQUENCY, PS_GRADIENTS, PS_HE, PS_HYPER_PARAMS, PS_LABELS, PS_MODE, PS_MODEL, PS_MODELAVG, PS_NBATCHES, PS_PARALLELISM, PS_SCHEME, PS_SEED, PS_UPDATE_FUN, PS_UPDATE_TYPE, PS_VAL_FEATURES, PS_VAL_FUN, PS_VAL_LABELS, SCALAR_DATA_TYPE, SEQ_FROM, SEQ_INCR, SEQ_TO, SETWD, SOURCE, STRING_VALUE_TYPE
 
- 
 - 
Constructor SummaryConstructors Constructor Description IfStatement()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStatementBlockElseBody(StatementBlock sb)voidaddStatementBlockIfBody(StatementBlock sb)booleancontrolStatement()ConditionalPredicategetConditionalPredicate()ArrayList<StatementBlock>getElseBody()ArrayList<StatementBlock>getIfBody()VariableSetinitializebackwardLV(VariableSet lo)voidinitializeforwardLV(VariableSet activeIn)voidmergeStatementBlocksElseBody()voidmergeStatementBlocksIfBody()StatementrewriteStatement(String prefix)voidsetConditionalPredicate(ConditionalPredicate pred)voidsetElseBody(ArrayList<StatementBlock> body)voidsetIfBody(ArrayList<StatementBlock> body)StringtoString()VariableSetvariablesRead()VariableSetvariablesUpdated()- 
Methods inherited from class org.apache.sysds.parser.StatementgetBeginColumn, getBeginLine, getEndColumn, getEndLine, getFilename, getText, isEmptyNewLineStatement, printErrorLocation, printWarningLocation, raiseValidateError, raiseValidateError, setBeginColumn, setBeginLine, setCtxValues, setCtxValuesAndFilename, setEmptyNewLineStatement, setEndColumn, setEndLine, setFilename, setParseInfo, setText
 
- 
 
- 
- 
- 
Method Detail- 
rewriteStatementpublic Statement rewriteStatement(String prefix) - Specified by:
- rewriteStatementin class- Statement
 
 - 
setConditionalPredicatepublic void setConditionalPredicate(ConditionalPredicate pred) 
 - 
addStatementBlockIfBodypublic void addStatementBlockIfBody(StatementBlock sb) 
 - 
addStatementBlockElseBodypublic void addStatementBlockElseBody(StatementBlock sb) 
 - 
getConditionalPredicatepublic ConditionalPredicate getConditionalPredicate() 
 - 
getIfBodypublic ArrayList<StatementBlock> getIfBody() 
 - 
getElseBodypublic ArrayList<StatementBlock> getElseBody() 
 - 
setIfBodypublic void setIfBody(ArrayList<StatementBlock> body) 
 - 
setElseBodypublic void setElseBody(ArrayList<StatementBlock> body) 
 - 
controlStatementpublic boolean controlStatement() - Specified by:
- controlStatementin class- Statement
 
 - 
initializeforwardLVpublic void initializeforwardLV(VariableSet activeIn) - Specified by:
- initializeforwardLVin class- Statement
 
 - 
initializebackwardLVpublic VariableSet initializebackwardLV(VariableSet lo) - Specified by:
- initializebackwardLVin class- Statement
 
 - 
mergeStatementBlocksIfBodypublic void mergeStatementBlocksIfBody() 
 - 
mergeStatementBlocksElseBodypublic void mergeStatementBlocksElseBody() 
 - 
variablesReadpublic VariableSet variablesRead() - Specified by:
- variablesReadin class- Statement
 
 - 
variablesUpdatedpublic VariableSet variablesUpdated() - Specified by:
- variablesUpdatedin class- Statement
 
 
- 
 
-