Marginalizes (sums) the combined tables, without requiring the memory for the combined distribution.
Namespace:
BayesServerAssembly: 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
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Raised if tables is null. |
| System..::.InvalidOperationException | Raised if this instance is read only, or if any variables are no longer sorted correctly due to modifications of the network. |
