blob: 6fd223664a9fe113c92a15b821f487b2c6ec8866 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.9.1) on Fri Sep 09 19:30:40 KST 2022 -->
<title>TaskSizeSplitterVertex (Nemo Project 0.4 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-09-09">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../../jquery/jquery-ui.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.5.1.js"></script>
<script type="text/javascript" src="../../../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="TaskSizeSplitterVertex (Nemo Project 0.4 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};
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/TaskSizeSplitterVertex.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>Field&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.nemo.common.ir.vertex.utility</a></div>
<h2 title="Class TaskSizeSplitterVertex" class="title">Class TaskSizeSplitterVertex</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../dag/Vertex.html" title="class in org.apache.nemo.common.dag">org.apache.nemo.common.dag.Vertex</a></li>
<li>
<ul class="inheritance">
<li><a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">org.apache.nemo.common.ir.vertex.IRVertex</a></li>
<li>
<ul class="inheritance">
<li><a href="../LoopVertex.html" title="class in org.apache.nemo.common.ir.vertex">org.apache.nemo.common.ir.vertex.LoopVertex</a></li>
<li>
<ul class="inheritance">
<li>org.apache.nemo.common.ir.vertex.utility.TaskSizeSplitterVertex</li>
</ul>
</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>java.io.Serializable</code>, <code><a href="../../../Cloneable.html" title="interface in org.apache.nemo.common">Cloneable</a>&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;</code></dd>
</dl>
<hr>
<pre>public final class <span class="typeNameLabel">TaskSizeSplitterVertex</span>
extends <a href="../LoopVertex.html" title="class in org.apache.nemo.common.ir.vertex">LoopVertex</a></pre>
<div class="block">This vertex works as a partition-based sampling vertex of dynamic task sizing pass.
It covers both sampling vertices and optimized vertices known from sampling by iterating same vertices, giving
different properties in each iteration.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../../serialized-form.html#org.apache.nemo.common.ir.vertex.utility.TaskSizeSplitterVertex">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<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(java.lang.String,java.util.Set,java.util.Set,java.util.Set,java.util.Set,java.util.Set,int)">TaskSizeSplitterVertex</a></span>&#8203;(java.lang.String&nbsp;splitterVertexName,
java.util.Set&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;&nbsp;originalVertices,
java.util.Set&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;&nbsp;groupStartingVertices,
java.util.Set&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;&nbsp;verticesWithGroupOutgoingEdges,
java.util.Set&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;&nbsp;groupEndingVertices,
java.util.Set&lt;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;&nbsp;edgesBetweenOriginalVertices,
int&nbsp;partitionerProperty)</code></th>
<td class="colLast">
<div class="block">Default constructor of TaskSizeSplitterVertex.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<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>java.util.Set&lt;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEdgesFromOriginalToOutside(org.apache.nemo.common.dag.DAG)">getEdgesFromOriginalToOutside</a></span>&#8203;(<a href="../../../dag/DAG.html" title="class in org.apache.nemo.common.dag">DAG</a>&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>,&#8203;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;&nbsp;dag)</code></th>
<td class="colLast">
<div class="block">Get edges which come from original vertices to outer destinations by observing the dag.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>java.util.Set&lt;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEdgesFromOutsideToOriginal(org.apache.nemo.common.dag.DAG)">getEdgesFromOutsideToOriginal</a></span>&#8203;(<a href="../../../dag/DAG.html" title="class in org.apache.nemo.common.dag">DAG</a>&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>,&#8203;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;&nbsp;dag)</code></th>
<td class="colLast">
<div class="block">Get edges which come to original vertices from outer sources by observing the dag.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.Set&lt;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEdgesFromOutsideToSplitter(org.apache.nemo.common.dag.DAG)">getEdgesFromOutsideToSplitter</a></span>&#8203;(<a href="../../../dag/DAG.html" title="class in org.apache.nemo.common.dag">DAG</a>&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>,&#8203;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;&nbsp;dag)</code></th>
<td class="colLast">
<div class="block">Get edges which come to splitter from outside sources.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.util.Set&lt;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEdgesFromSplitterToOutside(org.apache.nemo.common.dag.DAG)">getEdgesFromSplitterToOutside</a></span>&#8203;(<a href="../../../dag/DAG.html" title="class in org.apache.nemo.common.dag">DAG</a>&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>,&#8203;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;&nbsp;dag)</code></th>
<td class="colLast">
<div class="block">Get edges which come out from splitter to outside destinations.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.util.Set&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGroupEndingVertices()">getGroupEndingVertices</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.util.Set&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGroupStartingVertices()">getGroupStartingVertices</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.util.Set&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOriginalVertices()">getOriginalVertices</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.util.Set&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getVerticesWithGroupOutgoingEdges()">getVerticesWithGroupOutgoingEdges</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="#increaseTestingTrial()">increaseTestingTrial</a></span>()</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="#printLogs()">printLogs</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="TaskSizeSplitterVertex.html" title="class in org.apache.nemo.common.ir.vertex.utility">TaskSizeSplitterVertex</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unRollIteration(org.apache.nemo.common.dag.DAGBuilder)">unRollIteration</a></span>&#8203;(<a href="../../../dag/DAGBuilder.html" title="class in org.apache.nemo.common.dag">DAGBuilder</a>&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>,&#8203;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;&nbsp;dagBuilder)</code></th>
<td class="colLast">
<div class="block">Need to be careful about Signal Vertex, because they do not appear in the last iteration.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.nemo.common.ir.vertex.LoopVertex">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.nemo.common.ir.vertex.<a href="../LoopVertex.html" title="class in org.apache.nemo.common.ir.vertex">LoopVertex</a></h3>
<code><a href="../LoopVertex.html#addDagIncomingEdge(org.apache.nemo.common.ir.edge.IREdge)">addDagIncomingEdge</a>, <a href="../LoopVertex.html#addDagOutgoingEdge(org.apache.nemo.common.ir.edge.IREdge)">addDagOutgoingEdge</a>, <a href="../LoopVertex.html#addIterativeIncomingEdge(org.apache.nemo.common.ir.edge.IREdge)">addIterativeIncomingEdge</a>, <a href="../LoopVertex.html#addNonIterativeIncomingEdge(org.apache.nemo.common.ir.edge.IREdge)">addNonIterativeIncomingEdge</a>, <a href="../LoopVertex.html#decreaseMaxNumberOfIterations()">decreaseMaxNumberOfIterations</a>, <a href="../LoopVertex.html#getBuilder()">getBuilder</a>, <a href="../LoopVertex.html#getClone()">getClone</a>, <a href="../LoopVertex.html#getDAG()">getDAG</a>, <a href="../LoopVertex.html#getDagIncomingEdges()">getDagIncomingEdges</a>, <a href="../LoopVertex.html#getDagOutgoingEdges()">getDagOutgoingEdges</a>, <a href="../LoopVertex.html#getEdgeWithInternalVertex(org.apache.nemo.common.ir.edge.IREdge)">getEdgeWithInternalVertex</a>, <a href="../LoopVertex.html#getEdgeWithInternalVertexToEdgeWithLoop()">getEdgeWithInternalVertexToEdgeWithLoop</a>, <a href="../LoopVertex.html#getEdgeWithLoop(org.apache.nemo.common.ir.edge.IREdge)">getEdgeWithLoop</a>, <a href="../LoopVertex.html#getEdgeWithLoopToEdgeWithInternalVertex()">getEdgeWithLoopToEdgeWithInternalVertex</a>, <a href="../LoopVertex.html#getIterativeIncomingEdges()">getIterativeIncomingEdges</a>, <a href="../LoopVertex.html#getMaxNumberOfIterations()">getMaxNumberOfIterations</a>, <a href="../LoopVertex.html#getName()">getName</a>, <a href="../LoopVertex.html#getNonIterativeIncomingEdges()">getNonIterativeIncomingEdges</a>, <a href="../LoopVertex.html#getPropertiesAsJsonNode()">getPropertiesAsJsonNode</a>, <a href="../LoopVertex.html#getTerminationCondition()">getTerminationCondition</a>, <a href="../LoopVertex.html#increaseMaxNumberOfIterations()">increaseMaxNumberOfIterations</a>, <a href="../LoopVertex.html#loopTerminationConditionMet()">loopTerminationConditionMet</a>, <a href="../LoopVertex.html#loopTerminationConditionMet(java.lang.Integer)">loopTerminationConditionMet</a>, <a href="../LoopVertex.html#mapEdgeWithLoop(org.apache.nemo.common.ir.edge.IREdge,org.apache.nemo.common.ir.edge.IREdge)">mapEdgeWithLoop</a>, <a href="../LoopVertex.html#markDuplicateEdges()">markDuplicateEdges</a>, <a href="../LoopVertex.html#removeDagIncomingEdge(org.apache.nemo.common.ir.edge.IREdge)">removeDagIncomingEdge</a>, <a href="../LoopVertex.html#removeDagOutgoingEdge(org.apache.nemo.common.ir.edge.IREdge)">removeDagOutgoingEdge</a>, <a href="../LoopVertex.html#removeIterativeIncomingEdge(org.apache.nemo.common.ir.edge.IREdge)">removeIterativeIncomingEdge</a>, <a href="../LoopVertex.html#removeNonIterativeIncomingEdge(org.apache.nemo.common.ir.edge.IREdge)">removeNonIterativeIncomingEdge</a>, <a href="../LoopVertex.html#setMaxNumberOfIterations(java.lang.Integer)">setMaxNumberOfIterations</a>, <a href="../LoopVertex.html#setTerminationCondition(java.util.function.IntPredicate)">setTerminationCondition</a>, <a href="../LoopVertex.html#terminationConditionEquals(org.apache.nemo.common.ir.vertex.LoopVertex)">terminationConditionEquals</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.nemo.common.ir.vertex.IRVertex">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.nemo.common.ir.vertex.<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a></h3>
<code><a href="../IRVertex.html#copyExecutionPropertiesTo(org.apache.nemo.common.ir.vertex.IRVertex)">copyExecutionPropertiesTo</a>, <a href="../IRVertex.html#getExecutionProperties()">getExecutionProperties</a>, <a href="../IRVertex.html#getIRVertexPropertiesAsJsonNode()">getIRVertexPropertiesAsJsonNode</a>, <a href="../IRVertex.html#getPropertyValue(java.lang.Class)">getPropertyValue</a>, <a href="../IRVertex.html#isUtilityVertex()">isUtilityVertex</a>, <a href="../IRVertex.html#setProperty(org.apache.nemo.common.ir.executionproperty.VertexExecutionProperty)">setProperty</a>, <a href="../IRVertex.html#setPropertyPermanently(org.apache.nemo.common.ir.executionproperty.VertexExecutionProperty)">setPropertyPermanently</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.nemo.common.dag.Vertex">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.nemo.common.dag.<a href="../../../dag/Vertex.html" title="class in org.apache.nemo.common.dag">Vertex</a></h3>
<code><a href="../../../dag/Vertex.html#getId()">getId</a>, <a href="../../../dag/Vertex.html#getNumericId()">getNumericId</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.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(java.lang.String,java.util.Set,java.util.Set,java.util.Set,java.util.Set,java.util.Set,int)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>TaskSizeSplitterVertex</h4>
<pre>public&nbsp;TaskSizeSplitterVertex&#8203;(java.lang.String&nbsp;splitterVertexName,
java.util.Set&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;&nbsp;originalVertices,
java.util.Set&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;&nbsp;groupStartingVertices,
java.util.Set&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;&nbsp;verticesWithGroupOutgoingEdges,
java.util.Set&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;&nbsp;groupEndingVertices,
java.util.Set&lt;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;&nbsp;edgesBetweenOriginalVertices,
int&nbsp;partitionerProperty)</pre>
<div class="block">Default constructor of TaskSizeSplitterVertex.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>splitterVertexName</code> - for now, this doesn't do anything. This is inserted to enable extension
from LoopVertex.</dd>
<dd><code>originalVertices</code> - Set of vertices which form one stage and which splitter will wrap up.</dd>
<dd><code>groupStartingVertices</code> - The first vertex in stage. Although it is given as a Set, we assert that
this set has only one element (guaranteed by stage partitioner logic)</dd>
<dd><code>verticesWithGroupOutgoingEdges</code> - Vertices which has outgoing edges to other stage.</dd>
<dd><code>groupEndingVertices</code> - Vertices which has only outgoing edges to other stage.</dd>
<dd><code>edgesBetweenOriginalVertices</code> - Edges which connects original vertices.</dd>
<dd><code>partitionerProperty</code> - PartitionerProperty of incoming stage edge regarding to job data size.
For more information, check</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="getOriginalVertices()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOriginalVertices</h4>
<pre class="methodSignature">public&nbsp;java.util.Set&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;&nbsp;getOriginalVertices()</pre>
</li>
</ul>
<a id="getGroupStartingVertices()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGroupStartingVertices</h4>
<pre class="methodSignature">public&nbsp;java.util.Set&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;&nbsp;getGroupStartingVertices()</pre>
</li>
</ul>
<a id="getVerticesWithGroupOutgoingEdges()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVerticesWithGroupOutgoingEdges</h4>
<pre class="methodSignature">public&nbsp;java.util.Set&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;&nbsp;getVerticesWithGroupOutgoingEdges()</pre>
</li>
</ul>
<a id="getGroupEndingVertices()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGroupEndingVertices</h4>
<pre class="methodSignature">public&nbsp;java.util.Set&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>&gt;&nbsp;getGroupEndingVertices()</pre>
</li>
</ul>
<a id="increaseTestingTrial()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>increaseTestingTrial</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;increaseTestingTrial()</pre>
</li>
</ul>
<a id="unRollIteration(org.apache.nemo.common.dag.DAGBuilder)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unRollIteration</h4>
<pre class="methodSignature">public&nbsp;<a href="TaskSizeSplitterVertex.html" title="class in org.apache.nemo.common.ir.vertex.utility">TaskSizeSplitterVertex</a>&nbsp;unRollIteration&#8203;(<a href="../../../dag/DAGBuilder.html" title="class in org.apache.nemo.common.dag">DAGBuilder</a>&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>,&#8203;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;&nbsp;dagBuilder)</pre>
<div class="block">Need to be careful about Signal Vertex, because they do not appear in the last iteration.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../LoopVertex.html#unRollIteration(org.apache.nemo.common.dag.DAGBuilder)">unRollIteration</a></code>&nbsp;in class&nbsp;<code><a href="../LoopVertex.html" title="class in org.apache.nemo.common.ir.vertex">LoopVertex</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dagBuilder</code> - DAGBuilder to add the unrolled iteration to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Modified this object</dd>
</dl>
</li>
</ul>
<a id="getEdgesFromOutsideToOriginal(org.apache.nemo.common.dag.DAG)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdgesFromOutsideToOriginal</h4>
<pre class="methodSignature">public&nbsp;java.util.Set&lt;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;&nbsp;getEdgesFromOutsideToOriginal&#8203;(<a href="../../../dag/DAG.html" title="class in org.apache.nemo.common.dag">DAG</a>&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>,&#8203;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;&nbsp;dag)</pre>
<div class="block">Get edges which come to original vertices from outer sources by observing the dag. This will be the
'dagIncomingEdges' in Splitter vertex.
Edge case: Happens when previous vertex(i.e. outer source) is also a splitter vertex. In this case, we need to get
original edges which is invisible from the dag by hacking into previous splitter vertex.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dag</code> - dag to insert Splitter Vertex.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a set of edges from outside to original vertices.</dd>
</dl>
</li>
</ul>
<a id="getEdgesFromOriginalToOutside(org.apache.nemo.common.dag.DAG)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdgesFromOriginalToOutside</h4>
<pre class="methodSignature">public&nbsp;java.util.Set&lt;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;&nbsp;getEdgesFromOriginalToOutside&#8203;(<a href="../../../dag/DAG.html" title="class in org.apache.nemo.common.dag">DAG</a>&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>,&#8203;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;&nbsp;dag)</pre>
<div class="block">Get edges which come from original vertices to outer destinations by observing the dag. This will be the
'dagOutgoingEdges' in Splitter vertex.
Edge case: Happens when the vertex to be executed after the splitter vertex (i.e. outer destination)
is also a splitter vertex. In this case, we need to get original edges which is invisible from the dag
by hacking into next splitter vertex.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dag</code> - dag to insert Splitter Vertex.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a set of edges from original vertices to outside.</dd>
</dl>
</li>
</ul>
<a id="getEdgesFromOutsideToSplitter(org.apache.nemo.common.dag.DAG)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdgesFromOutsideToSplitter</h4>
<pre class="methodSignature">public&nbsp;java.util.Set&lt;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;&nbsp;getEdgesFromOutsideToSplitter&#8203;(<a href="../../../dag/DAG.html" title="class in org.apache.nemo.common.dag">DAG</a>&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>,&#8203;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;&nbsp;dag)</pre>
<div class="block">Get edges which come to splitter from outside sources. These edges have a one-to-one relationship with
edgesFromOutsideToOriginal.
Edge case: Happens when previous vertex(i.e. outer source) is also a splitter vertex.
In this case, we need to modify the prevSplitter's LoopEdge - InternalEdge mapping relationship,
since inserting this Splitter Vertex changes the destination of prevSplitter's LoopEdge
from the original vertex to this Splitter Vertex</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dag</code> - dag to insert Splitter Vertex</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a set of edges pointing at Splitter Vertex</dd>
</dl>
</li>
</ul>
<a id="getEdgesFromSplitterToOutside(org.apache.nemo.common.dag.DAG)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdgesFromSplitterToOutside</h4>
<pre class="methodSignature">public&nbsp;java.util.Set&lt;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;&nbsp;getEdgesFromSplitterToOutside&#8203;(<a href="../../../dag/DAG.html" title="class in org.apache.nemo.common.dag">DAG</a>&lt;<a href="../IRVertex.html" title="class in org.apache.nemo.common.ir.vertex">IRVertex</a>,&#8203;<a href="../../edge/IREdge.html" title="class in org.apache.nemo.common.ir.edge">IREdge</a>&gt;&nbsp;dag)</pre>
<div class="block">Get edges which come out from splitter to outside destinations. These edges have a one-to-one relationship with
edgesFromOriginalToOutside.
Edge case: Happens when vertex to be executed after this Splitter Vertex(i.e. outer destination)
is also a Splitter Vertex. In this case, we need to modify the nextSplitter's LoopEdge - InternalEdge
mapping relationship, since inserting this Splitter Vertex changes the source of prevSplitter's
LoopEdge from the original vertex to this Splitter Vertex.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dag</code> - dag to insert Splitter Vertex.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a set of edges coming out from Splitter Vertex.</dd>
</dl>
</li>
</ul>
<a id="printLogs()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>printLogs</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;printLogs()</pre>
</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/TaskSizeSplitterVertex.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>Field&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; 2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>