Marginalizes (sums) the combined tables, without requiring the memory for the combined distribution.

Namespace:  BayesServer
Assembly:  BayesServer (in BayesServer.dll)
Version: 2.2.0.0 (2.2.0.0)

Syntax

C#
public void MarginalizeLowMemory(
	Table[] tables,
	Table..::.MarginalizeLowMemoryOptions options
)
Visual Basic (Declaration)
Public Sub MarginalizeLowMemory ( _
	tables As Table(), _
	options As Table..::.MarginalizeLowMemoryOptions _
)
Visual C++
public:
void MarginalizeLowMemory(
	array<Table^>^ tables, 
	Table..::.MarginalizeLowMemoryOptions options
)

Parameters

tables
Type: array< BayesServer..::.Table >[]()[]
The tables whose combined distribution you wish to marginalize.
options
Type: BayesServer..::.Table..::.MarginalizeLowMemoryOptions
Options governing the method, including cancellation.

Remarks

This method uses very little memory, however in general will perform worse than the standard Marginalize routines.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionRaised if tables is null.
System..::.InvalidOperationExceptionRaised if this instance is read only, or if any variables are no longer sorted correctly due to modifications of the network.

See Also