Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Double_Seg_Algorithm Class Reference

A class representing a double segmentation algorithm. More...

#include <Double_Seg_Algorithm.hpp>

List of all members.

Public Methods

bool HasConverged ()
 True if the algorithm has converged (the criterion has reached the limit).

virtual void Compute_MAP_Labels (vector< uint > &Labels)
 Compute MAP labels -- segmentation result.

virtual void Init_Labels (vector< uint > const &labsY, vector< uint > const &labsZ)
 Initialize with labels.

virtual void Init_Random ()
 Initialize randomly.

virtual void Init_Density ()
 Initialize with density.

virtual void Compute_CLCrit ()
 Completed likelihood criterion.

virtual void Compute_FuzzyCrit ()
 Fuzzy classification criterion.

virtual void Compute_HardCrit ()
 Hard classification criterion.

void Display_Stopping_Rule ()
 display info about the criteria

void Update_Stopping_Rules ()
 Recompute criteria values.

void Use_Default_Stopping_Rule ()
 Set the criterion to the default.

void Set_Stopping_Rule (uint crit, double tol)
 Set the criterion to a given one.

virtual void Info ()
 Display some runtime information ...

virtual void Run (uint nbiter)
 Run for a number of iterations ...

void RunUntilConvergence ()
 Run until the convergence test is ok ...


Protected Attributes

vector< double > Crit_Values
 All values of stopping criteria.

uint Criterion
 Current (chosen) stopping criterion.

double Tol
 limit value of the stopping criterion

double Old_CL
 Old value of completed likelihood.

vector< double > old_fuzzy
 Old value of tY_il.

vector< uint > old_map_labs
 Old map labels.


Detailed Description

Author:
Juliette Blanchet
Date:
Nov. 2005
Abstract class.


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 14:53:53 2005 for NEM by doxygen1.2.18