Recommendations


Description

For an Engine, a collection of utility values (double-precision floating-point numbers), each indexed by a Node object. It can be thought of as a collection of Node/utility pairs or as a partial mapping from Node objects to utility values, or as a function from Node objects to utility values. The elements are ordered by utility, most useful first.

Syntax

anEngine.Recommendations(index)

Parameter

Description

anEngine

an  Engine object.

(index)

Optional. An integer, or a string, or a Node object specifying the index of the utility value to retrieve. Integer indexes are zero-based, meaning the first utility value in the collection has index 0. A string index is valid only if the string is the name of a node used to index the collection. A Node object is valid only if it used to index utility value in the Recommendations collection.

Examples

See: Inference: an Overview

Remarks

As with all MSBN3 collections, the elements of this collection can be enumerated. Also, as with other MSBN3 collections, the index numbers, key strings, and key objects of this collection can be enumerated. See "Collections and Maps: an Overview" for details.

Properties

CountDescription, Engine, ExistingKey, Item, Model, MSBN, Ref

Methods

none

Collections

Indexes, Keys, KeyObjects

Also See

RecommendationsReady, RecommendationsType

RecommendationsTypeCollections and Maps: an Overview