Dryad/html/28f10369-ddd1-2090-d4e2-16e...

18 lines
8.9 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><link rel="shortcut icon" href="../icons/favicon.ico" /><style type="text/css">.OH_CodeSnippetContainerTabLeftActive, .OH_CodeSnippetContainerTabLeft,.OH_CodeSnippetContainerTabLeftDisabled { }.OH_CodeSnippetContainerTabRightActive, .OH_CodeSnippetContainerTabRight,.OH_CodeSnippetContainerTabRightDisabled { }.OH_footer { }</style><link rel="stylesheet" type="text/css" href="../styles/branding.css" /><link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" /><script type="text/javascript" src="../scripts/branding.js"> </script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>IDecomposable(TSource, TAccumulate, TResult) Interface</title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="IDecomposable%3CTSource%2C TAccumulate%2C TResult%3E interface" /><meta name="System.Keywords" content="Microsoft.Research.DryadLinq.IDecomposable%3CTSource%2C TAccumulate%2C TResult%3E interface" /><meta name="System.Keywords" content="IDecomposable%3CTSource%2C TAccumulate%2C TResult%3E interface, about IDecomposable%3CTSource%2C TAccumulate%2C TResult%3E interface" /><meta name="System.Keywords" content="IDecomposable(Of TSource%2C TAccumulate%2C TResult) interface" /><meta name="System.Keywords" content="Microsoft.Research.DryadLinq.IDecomposable(Of TSource%2C TAccumulate%2C TResult) interface" /><meta name="System.Keywords" content="IDecomposable(Of TSource%2C TAccumulate%2C TResult) interface, about IDecomposable(Of TSource%2C TAccumulate%2C TResult) interface" /><meta name="Microsoft.Help.F1" content="Microsoft.Research.DryadLinq.IDecomposable`3" /><meta name="Microsoft.Help.Id" content="T:Microsoft.Research.DryadLinq.IDecomposable`3" /><meta name="Description" content="Defines the DryadLINQ interface for decomposable functions. It allows a function to be decomposed into the composition of several functions that can be executed more efficiently." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="Microsoft.Research.DryadLinq" /><meta name="file" content="28f10369-ddd1-2090-d4e2-16e5c7b34795" /><meta name="guid" content="28f10369-ddd1-2090-d4e2-16e5c7b34795" /></head><body onload="OnLoad('cs')"><input type="hidden" id="userDataCache" class="userDataStyle" /><div class="OH_outerDiv"><div class="OH_outerContent"><table class="TitleTable"><tr><td class="OH_tdTitleColumn">IDecomposable<span id="LSTB2587BB5_0"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTB2587BB5_0?cs=&lt;|vb=(Of |cpp=&lt;|fs=&lt;'|nu=(");</script><span class="typeparameter">TSource</span>, <span class="typeparameter">TAccumulate</span>, <span class="typeparameter">TResult</span><span id="LSTB2587BB5_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTB2587BB5_1?cs=&gt;|vb=)|cpp=&gt;|fs=&gt;|nu=)");</script> Interface</td><td class="OH_tdRunningTitleColumn">DryadLINQ documentation</td></tr></table><div id="mainSection"><div id="mainBody"><span class="introStyle"></span><div class="summary">
Defines the DryadLINQ interface for decomposable functions. It allows a function to be
decomposed into the composition of several functions that can be executed more efficiently.
</div><p> </p><strong>Namespace:</strong> <a href="efe6507e-9fd8-bbd3-8227-fd6ba9e289c1.htm">Microsoft.Research.DryadLinq</a><br /><strong>Assembly:</strong> Microsoft.Research.DryadLinq (in Microsoft.Research.DryadLinq.dll) Version: 0.1.5.0 (0.1.5.0)<div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">Syntax</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"> </div><div class="OH_CodeSnippetContainer"><div class="OH_CodeSnippetContainerTabs"><div class="OH_CodeSnippetContainerTabLeft" id="ID0ECCA_tabimgleft"> </div><div id="ID0ECCA_tab1" class="OH_CodeSnippetContainerTabFirst"><a href="#" onclick="javascript:ChangeTab('ID0ECCA','cs','1','3');return false;">C#</a></div><div id="ID0ECCA_tab2" class="OH_CodeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0ECCA','vb','2','3');return false;">VB</a></div><div id="ID0ECCA_tab3" class="OH_CodeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0ECCA','cpp','3','3');return false;">C++</a></div><div class="OH_CodeSnippetContainerTabRight" id="ID0ECCA_tabimgright"> </div></div><div class="OH_CodeSnippetContainerCodeCollection"><div class="OH_CodeSnippetToolBar"><div class="OH_CodeSnippetToolBarText"><a id="ID0ECCA_copyCode" href="#" onclick="javascript:CopyToClipboard('ID0ECCA');return false;" title="Copy">Copy</a></div></div><div id="ID0ECCA_code_Div1" class="OH_CodeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="keyword">public</span> <span class="keyword">interface</span> <span class="identifier">IDecomposable</span>&lt;TSource, TAccumulate, TResult&gt;
</pre></div><div id="ID0ECCA_code_Div2" class="OH_CodeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">Public</span> <span class="keyword">Interface</span> <span class="identifier">IDecomposable</span>(<span class="keyword">Of</span> TSource, TAccumulate, TResult)</pre></div><div id="ID0ECCA_code_Div3" class="OH_CodeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">generic</span>&lt;<span class="keyword">typename</span> TSource, <span class="keyword">typename</span> TAccumulate, <span class="keyword">typename</span> TResult&gt;
<span class="keyword">public</span> <span class="keyword">interface class</span> <span class="identifier">IDecomposable</span></pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0ECCA");</script><h4 class="subHeading">Type Parameters</h4><dl><dt><span class="parameter">TSource</span></dt><dd>The record type of the original input.</dd><dt><span class="parameter">TAccumulate</span></dt><dd>The record type of an intermediate result.</dd><dt><span class="parameter">TResult</span></dt><dd>The record type of the final result.</dd></dl><p>The <span class="selflink">IDecomposable<span id="LSTB2587BB5_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTB2587BB5_2?cs=&lt;|vb=(Of |cpp=&lt;|nu=(|fs=&lt;'");</script>TSource, TAccumulate, TResult<span id="LSTB2587BB5_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTB2587BB5_3?cs=&gt;|vb=)|cpp=&gt;|nu=)|fs=&gt;");</script></span> type exposes the following members.</p><div class="OH_CollapsibleAreaRegion"><div class="OH_regiontitle">Methods</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"> </div><table id="memberList" class="members"><tr><th class="ps_iconColumn">
 
</th><th>Name</th><th>Description</th></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="f7141b46-f316-6b6b-13dd-b38da64deda1.htm">Accumulate</a></td><td><div class="summary">
Adds a new input record into the intermediate value.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="a3a06fa4-5372-405f-85b2-947afeb79561.htm">FinalReduce</a></td><td><div class="summary">
Computes the final result from the current intermediate value.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="a65ccdbb-51b0-b1a1-1e8d-ccfd30971385.htm">Initialize</a></td><td><div class="summary">
Initializes the state of this IDecomposable object.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="507ffa9d-4bfa-1702-0a7f-918fd4a42345.htm">RecursiveAccumulate</a></td><td><div class="summary">
Combines two intermediate values into a new intermediate value.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" alt="Public method" title="Public method" /></td><td><a href="51aa8653-daf8-c05e-f659-99046cd343ed.htm">Seed</a></td><td><div class="summary">
Converts an input record to an intermediate value.
</div></td></tr></table><a href="#mainBody">Top</a><div class="OH_CollapsibleAreaRegion" id="seeAlsoSection"><div class="OH_regiontitle">See Also</div><div class="OH_CollapsibleArea_HrDiv"><hr class="OH_CollapsibleArea_Hr" /></div></div><div class="OH_clear"> </div><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="efe6507e-9fd8-bbd3-8227-fd6ba9e289c1.htm">Microsoft.Research.DryadLinq Namespace</a></div></div></div></div></div><div id="OH_footer" class="OH_footer"> </div></body></html>