blob: 11c7b59fa955c434376606aad33b02b0702a85ff [file]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>FunctionStatementBlock (Apache SystemDS 3.2.0-SNAPSHOT API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.min.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="FunctionStatementBlock (Apache SystemDS 3.2.0-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/FunctionStatementBlock.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.sysds.parser</a></div>
<h2 title="Class FunctionStatementBlock" class="title">Class FunctionStatementBlock</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="LiveVariableAnalysis.html" title="class in org.apache.sysds.parser">org.apache.sysds.parser.LiveVariableAnalysis</a></li>
<li>
<ul class="inheritance">
<li><a href="StatementBlock.html" title="class in org.apache.sysds.parser">org.apache.sysds.parser.StatementBlock</a></li>
<li>
<ul class="inheritance">
<li>org.apache.sysds.parser.FunctionStatementBlock</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="../common/Types.FunctionBlock.html" title="interface in org.apache.sysds.common">Types.FunctionBlock</a></code>, <code><a href="ParseInfo.html" title="interface in org.apache.sysds.parser">ParseInfo</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">FunctionStatementBlock</span>
extends <a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>
implements <a href="../common/Types.FunctionBlock.html" title="interface in org.apache.sysds.common">Types.FunctionBlock</a></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.sysds.parser.StatementBlock">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.sysds.parser.<a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></h3>
<code><a href="StatementBlock.html#DEFAULT_LOOP_REPETITIONS">DEFAULT_LOOP_REPETITIONS</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">FunctionStatementBlock</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#analyze(org.apache.sysds.parser.VariableSet)">analyze</a></span>&#8203;(<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;loPassed)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#analyze(org.apache.sysds.parser.VariableSet,org.apache.sysds.parser.VariableSet)">analyze</a></span>&#8203;(<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;liPassed,
<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;loPassed)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../common/Types.FunctionBlock.html" title="interface in org.apache.sysds.common">Types.FunctionBlock</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cloneFunctionBlock()">cloneFunctionBlock</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../hops/FunctionOp.FunctionType.html" title="enum in org.apache.sysds.hops">FunctionOp.FunctionType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFunctionOpType()">getFunctionOpType</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#initializebackwardLV(org.apache.sysds.parser.VariableSet)">initializebackwardLV</a></span>&#8203;(<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;loPassed)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#initializeforwardLV(org.apache.sysds.parser.VariableSet)">initializeforwardLV</a></span>&#8203;(<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;activeInPassed)</code></th>
<td class="colLast">
<div class="block">For each statement:
gen rule: for each variable read in current statement but not updated in any PRIOR statement, add to gen
Handles case where variable both read and updated in same statement (i = i + 1, i needs to be added to gen)
kill rule: for each variable updated in current statement but not read in this or any PRIOR statement,
add to kill.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isNondeterministic()">isNondeterministic</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRecompileOnce()">isRecompileOnce</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setNondeterministic(boolean)">setNondeterministic</a></span>&#8203;(boolean&nbsp;flag)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRecompileOnce(boolean)">setRecompileOnce</a></span>&#8203;(boolean&nbsp;flag)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateRepetitionEstimates(double)">updateRepetitionEstimates</a></span>&#8203;(double&nbsp;repetitions)</code></th>
<td class="colLast">
<div class="block">Updates the repetition estimate for this statement block
and all contained hops.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#validate(org.apache.sysds.parser.DMLProgram,org.apache.sysds.parser.VariableSet,java.util.HashMap,boolean)">validate</a></span>&#8203;(<a href="DMLProgram.html" title="class in org.apache.sysds.parser">DMLProgram</a>&nbsp;dmlProg,
<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;ids,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/HashMap.html?is-external=true" title="class or interface in java.util" class="externalLink">HashMap</a>&lt;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,&#8203;<a href="ConstIdentifier.html" title="class in org.apache.sysds.parser">ConstIdentifier</a>&gt;&nbsp;constVars,
boolean&nbsp;conditional)</code></th>
<td class="colLast">
<div class="block">TODO: DRB: This needs to be changed to reflect:
1) Default values for variables -- need to add R styled check here to make sure that once vars with
default values start, they keep going to the right
2) The other parameters for External Functions</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.sysds.parser.StatementBlock">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.sysds.parser.<a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></h3>
<code><a href="StatementBlock.html#addStatement(org.apache.sysds.parser.Statement)">addStatement</a>, <a href="StatementBlock.html#addStatementBlock(org.apache.sysds.parser.StatementBlock)">addStatementBlock</a>, <a href="StatementBlock.html#getBeginColumn()">getBeginColumn</a>, <a href="StatementBlock.html#getBeginLine()">getBeginLine</a>, <a href="StatementBlock.html#getConstIn()">getConstIn</a>, <a href="StatementBlock.html#getConstOut()">getConstOut</a>, <a href="StatementBlock.html#getDMLProg()">getDMLProg</a>, <a href="StatementBlock.html#getEndColumn()">getEndColumn</a>, <a href="StatementBlock.html#getEndLine()">getEndLine</a>, <a href="StatementBlock.html#getFilename()">getFilename</a>, <a href="StatementBlock.html#getHops()">getHops</a>, <a href="StatementBlock.html#getInputstoSB()">getInputstoSB</a>, <a href="StatementBlock.html#getLops()">getLops</a>, <a href="StatementBlock.html#getName()">getName</a>, <a href="StatementBlock.html#getNumStatements()">getNumStatements</a>, <a href="StatementBlock.html#getOutputNamesofSB()">getOutputNamesofSB</a>, <a href="StatementBlock.html#getOutputsofSB()">getOutputsofSB</a>, <a href="StatementBlock.html#getSBID()">getSBID</a>, <a href="StatementBlock.html#getStatement(int)">getStatement</a>, <a href="StatementBlock.html#getStatements()">getStatements</a>, <a href="StatementBlock.html#getText()">getText</a>, <a href="StatementBlock.html#getUpdateInPlaceVars()">getUpdateInPlaceVars</a>, <a href="StatementBlock.html#hasHops()">hasHops</a>, <a href="StatementBlock.html#isMergeableFunctionCallBlock(org.apache.sysds.parser.DMLProgram)">isMergeableFunctionCallBlock</a>, <a href="StatementBlock.html#isRewritableFunctionCall(org.apache.sysds.parser.Statement,org.apache.sysds.parser.DMLProgram)">isRewritableFunctionCall</a>, <a href="StatementBlock.html#isSplitDag()">isSplitDag</a>, <a href="StatementBlock.html#mergeable()">mergeable</a>, <a href="StatementBlock.html#mergeFunctionCalls(java.util.List,org.apache.sysds.parser.DMLProgram)">mergeFunctionCalls</a>, <a href="StatementBlock.html#mergeStatementBlocks(java.util.List)">mergeStatementBlocks</a>, <a href="StatementBlock.html#printBlockErrorLocation()">printBlockErrorLocation</a>, <a href="StatementBlock.html#printErrorLocation()">printErrorLocation</a>, <a href="StatementBlock.html#printWarningLocation()">printWarningLocation</a>, <a href="StatementBlock.html#raiseValidateError(java.lang.String,boolean)">raiseValidateError</a>, <a href="StatementBlock.html#raiseValidateError(java.lang.String,boolean,java.lang.String)">raiseValidateError</a>, <a href="StatementBlock.html#requiresRecompilation()">requiresRecompilation</a>, <a href="StatementBlock.html#rewriteFunctionCallStatements(org.apache.sysds.parser.DMLProgram,java.util.ArrayList)">rewriteFunctionCallStatements</a>, <a href="StatementBlock.html#rHoistFunctionCallsFromExpressions(org.apache.sysds.parser.Expression,boolean,java.util.ArrayList,org.apache.sysds.parser.DMLProgram)">rHoistFunctionCallsFromExpressions</a>, <a href="StatementBlock.html#rHoistFunctionCallsFromExpressions(org.apache.sysds.parser.StatementBlock,org.apache.sysds.parser.DMLProgram)">rHoistFunctionCallsFromExpressions</a>, <a href="StatementBlock.html#rHoistFunctionCallsFromExpressions(org.apache.sysds.parser.Statement,org.apache.sysds.parser.DMLProgram)">rHoistFunctionCallsFromExpressions</a>, <a href="StatementBlock.html#setBeginColumn(int)">setBeginColumn</a>, <a href="StatementBlock.html#setBeginLine(int)">setBeginLine</a>, <a href="StatementBlock.html#setDMLProg(org.apache.sysds.parser.DMLProgram)">setDMLProg</a>, <a href="StatementBlock.html#setEndColumn(int)">setEndColumn</a>, <a href="StatementBlock.html#setEndLine(int)">setEndLine</a>, <a href="StatementBlock.html#setFilename(java.lang.String)">setFilename</a>, <a href="StatementBlock.html#setHops(java.util.ArrayList)">setHops</a>, <a href="StatementBlock.html#setLops(java.util.ArrayList)">setLops</a>, <a href="StatementBlock.html#setParseInfo(org.apache.sysds.parser.ParseInfo)">setParseInfo</a>, <a href="StatementBlock.html#setSplitDag(boolean)">setSplitDag</a>, <a href="StatementBlock.html#setStatementFormatType(org.apache.sysds.parser.AssignmentStatement,boolean)">setStatementFormatType</a>, <a href="StatementBlock.html#setStatementFormatType(org.apache.sysds.parser.OutputStatement,boolean)">setStatementFormatType</a>, <a href="StatementBlock.html#setStatements(java.util.ArrayList)">setStatements</a>, <a href="StatementBlock.html#setText(java.lang.String)">setText</a>, <a href="StatementBlock.html#setUpdateInPlaceVars(java.util.ArrayList)">setUpdateInPlaceVars</a>, <a href="StatementBlock.html#toString()">toString</a>, <a href="StatementBlock.html#updateRecompilationFlag()">updateRecompilationFlag</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.sysds.parser.LiveVariableAnalysis">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.sysds.parser.<a href="LiveVariableAnalysis.html" title="class in org.apache.sysds.parser">LiveVariableAnalysis</a></h3>
<code><a href="LiveVariableAnalysis.html#getGen()">getGen</a>, <a href="LiveVariableAnalysis.html#getKill()">getKill</a>, <a href="LiveVariableAnalysis.html#getWarn()">getWarn</a>, <a href="LiveVariableAnalysis.html#liveIn()">liveIn</a>, <a href="LiveVariableAnalysis.html#liveOut()">liveOut</a>, <a href="LiveVariableAnalysis.html#setGen(org.apache.sysds.parser.VariableSet)">setGen</a>, <a href="LiveVariableAnalysis.html#setKill(org.apache.sysds.parser.VariableSet)">setKill</a>, <a href="LiveVariableAnalysis.html#setLiveIn(org.apache.sysds.parser.VariableSet)">setLiveIn</a>, <a href="LiveVariableAnalysis.html#setLiveOut(org.apache.sysds.parser.VariableSet)">setLiveOut</a>, <a href="LiveVariableAnalysis.html#setReadVariables(org.apache.sysds.parser.VariableSet)">setReadVariables</a>, <a href="LiveVariableAnalysis.html#setUpdatedVariables(org.apache.sysds.parser.VariableSet)">setUpdatedVariables</a>, <a href="LiveVariableAnalysis.html#updateLiveVariablesOut(org.apache.sysds.parser.VariableSet)">updateLiveVariablesOut</a>, <a href="LiveVariableAnalysis.html#variablesRead()">variablesRead</a>, <a href="LiveVariableAnalysis.html#variablesUpdated()">variablesUpdated</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>FunctionStatementBlock</h4>
<pre>public&nbsp;FunctionStatementBlock()</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="validate(org.apache.sysds.parser.DMLProgram,org.apache.sysds.parser.VariableSet,java.util.HashMap,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validate</h4>
<pre class="methodSignature">public&nbsp;<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;validate&#8203;(<a href="DMLProgram.html" title="class in org.apache.sysds.parser">DMLProgram</a>&nbsp;dmlProg,
<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;ids,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/HashMap.html?is-external=true" title="class or interface in java.util" class="externalLink">HashMap</a>&lt;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,&#8203;<a href="ConstIdentifier.html" title="class in org.apache.sysds.parser">ConstIdentifier</a>&gt;&nbsp;constVars,
boolean&nbsp;conditional)</pre>
<div class="block">TODO: DRB: This needs to be changed to reflect:
1) Default values for variables -- need to add R styled check here to make sure that once vars with
default values start, they keep going to the right
2) The other parameters for External Functions</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="StatementBlock.html#validate(org.apache.sysds.parser.DMLProgram,org.apache.sysds.parser.VariableSet,java.util.HashMap,boolean)">validate</a></code>&nbsp;in class&nbsp;<code><a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></code></dd>
</dl>
</li>
</ul>
<a id="getFunctionOpType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFunctionOpType</h4>
<pre class="methodSignature">public&nbsp;<a href="../hops/FunctionOp.FunctionType.html" title="enum in org.apache.sysds.hops">FunctionOp.FunctionType</a>&nbsp;getFunctionOpType()</pre>
</li>
</ul>
<a id="initializeforwardLV(org.apache.sysds.parser.VariableSet)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initializeforwardLV</h4>
<pre class="methodSignature">public&nbsp;<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;initializeforwardLV&#8203;(<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;activeInPassed)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="StatementBlock.html#initializeforwardLV(org.apache.sysds.parser.VariableSet)">StatementBlock</a></code></span></div>
<div class="block">For each statement:
gen rule: for each variable read in current statement but not updated in any PRIOR statement, add to gen
Handles case where variable both read and updated in same statement (i = i + 1, i needs to be added to gen)
kill rule: for each variable updated in current statement but not read in this or any PRIOR statement,
add to kill.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="StatementBlock.html#initializeforwardLV(org.apache.sysds.parser.VariableSet)">initializeforwardLV</a></code>&nbsp;in class&nbsp;<code><a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></code></dd>
</dl>
</li>
</ul>
<a id="initializebackwardLV(org.apache.sysds.parser.VariableSet)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initializebackwardLV</h4>
<pre class="methodSignature">public&nbsp;<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;initializebackwardLV&#8203;(<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;loPassed)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="StatementBlock.html#initializebackwardLV(org.apache.sysds.parser.VariableSet)">initializebackwardLV</a></code>&nbsp;in class&nbsp;<code><a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></code></dd>
</dl>
</li>
</ul>
<a id="analyze(org.apache.sysds.parser.VariableSet)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>analyze</h4>
<pre class="methodSignature">public&nbsp;<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;analyze&#8203;(<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;loPassed)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="StatementBlock.html#analyze(org.apache.sysds.parser.VariableSet)">analyze</a></code>&nbsp;in class&nbsp;<code><a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></code></dd>
</dl>
</li>
</ul>
<a id="analyze(org.apache.sysds.parser.VariableSet,org.apache.sysds.parser.VariableSet)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>analyze</h4>
<pre class="methodSignature">public&nbsp;<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;analyze&#8203;(<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;liPassed,
<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;loPassed)</pre>
</li>
</ul>
<a id="setRecompileOnce(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRecompileOnce</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setRecompileOnce&#8203;(boolean&nbsp;flag)</pre>
</li>
</ul>
<a id="isRecompileOnce()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isRecompileOnce</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isRecompileOnce()</pre>
</li>
</ul>
<a id="setNondeterministic(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNondeterministic</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setNondeterministic&#8203;(boolean&nbsp;flag)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="StatementBlock.html#setNondeterministic(boolean)">setNondeterministic</a></code>&nbsp;in class&nbsp;<code><a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></code></dd>
</dl>
</li>
</ul>
<a id="isNondeterministic()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNondeterministic</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isNondeterministic()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="StatementBlock.html#isNondeterministic()">isNondeterministic</a></code>&nbsp;in class&nbsp;<code><a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></code></dd>
</dl>
</li>
</ul>
<a id="cloneFunctionBlock()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cloneFunctionBlock</h4>
<pre class="methodSignature">public&nbsp;<a href="../common/Types.FunctionBlock.html" title="interface in org.apache.sysds.common">Types.FunctionBlock</a>&nbsp;cloneFunctionBlock()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../common/Types.FunctionBlock.html#cloneFunctionBlock()">cloneFunctionBlock</a></code>&nbsp;in interface&nbsp;<code><a href="../common/Types.FunctionBlock.html" title="interface in org.apache.sysds.common">Types.FunctionBlock</a></code></dd>
</dl>
</li>
</ul>
<a id="updateRepetitionEstimates(double)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>updateRepetitionEstimates</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;updateRepetitionEstimates&#8203;(double&nbsp;repetitions)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="StatementBlock.html#updateRepetitionEstimates(double)">StatementBlock</a></code></span></div>
<div class="block">Updates the repetition estimate for this statement block
and all contained hops. FunctionStatementBlocks are loaded
from the function dictionary and repetitions are estimated
for the contained statement blocks.
This method is overridden in the subclasses of StatementBlock.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="StatementBlock.html#updateRepetitionEstimates(double)">updateRepetitionEstimates</a></code>&nbsp;in class&nbsp;<code><a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>repetitions</code> - estimated for this statement block</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/FunctionStatementBlock.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2023 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>