- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# Mers::Estimation::Discrete::ProbabilityRules::IndexedRule Class Reference

`#include <IndexedRule.h>`

Inheritance diagram for Mers::Estimation::Discrete::ProbabilityRules::IndexedRule:

[legend]
Collaboration diagram for Mers::Estimation::Discrete::ProbabilityRules::IndexedRule:

[legend]
List of all members.

## Public Member Functions
| IndexedRule (const Mers::Models::Base::BaseModelAssignmentArray *myAssigmentArray, unsigned int index, unsigned short db=0)
virtual | ~IndexedRule ()
unsigned int | getIndex (void)
## Friends
std::ostream & | operator<< (std::ostream &, IndexedRule const &)

## Detailed Description

This class inherits from the rule class. In addition to having an array of base model assignments, the observation combination rule stores an index value.

Definition at line 47 of file IndexedRule.h.

## Constructor & Destructor Documentation

IndexedRule::IndexedRule | ( | const Mers::Models::Base::BaseModelAssignmentArray * | myAssigmentArray,
|  | unsigned int | index,
|  | unsigned short | db = `0` |
| ) |  |  |

Creates new Indexed Rule

Parameters:

  | myAssigmentArray | is the set of rule assignments.
  | index | is the index to store
  | db | the initial debug value (0 if unassigned)

Definition at line 27 of file IndexedRule.cpp.

IndexedRule::~IndexedRule | ( |  | ) | `[virtual]`

Destroys all the observation combination rule.

Definition at line 36 of file IndexedRule.cpp.

## Member Function Documentation

unsigned int IndexedRule::getIndex | ( | void |  | ) |

Returns the indexNumber

Returns:
  indexNumber

Definition at line 48 of file IndexedRule.cpp.

The documentation for this class was generated from the following files:

- /Users/fpy/titan-1-5-MBARI/Mers/Estimation/Discrete/ProbabilityRules/IndexedRule.h
- /Users/fpy/titan-1-5-MBARI/Mers/Estimation/Discrete/ProbabilityRules/IndexedRule.cpp