Similarity-based Grouping Genetic Algorithm "thread-dependent" Data. More...

#include <sgga.h>

Inheritance diagram for RThreadDataSG< cInst, cChromo, cThreadData, cGroup, cObj >:
[legend]
Collaboration diagram for RThreadDataSG< cInst, cChromo, cThreadData, cGroup, cObj >:
[legend]

Public Member Functions

 RThreadDataSG (cInst *owner)
 
virtual void Init (void)
 
virtual ~RThreadDataSG (void)
 
- Public Member Functions inherited from RThreadDataG< cInst, cChromo, RFitnessSG, cThreadData, cGroup, cObj >
 RThreadDataG (cInst *owner)
 
virtual ~RThreadDataG (void)
 
- Public Member Functions inherited from RThreadData< cInst, cChromo >
 RThreadData (cInst *owner)
 
virtual ~RThreadData ()
 

Public Attributes

R::RContainer< cGroup, false,
false > 
ToDel
 
cObj ** tmpObjs1
 
cObj ** tmpObjs2
 
cChromo ** Tests
 
RPromKernelSC< cChromo > Prom
 
RPromSol ** Sols
 
size_t NbSols
 
- Public Attributes inherited from RThreadData< cInst, cChromo >
cInst * Owner
 

Additional Inherited Members

- Protected Attributes inherited from RThreadDataG< cInst, cChromo, RFitnessSG, cThreadData, cGroup, cObj >
RGroupingHeuristic< cGroup,
cObj, cChromo > * 
Heuristic
 

Detailed Description

template<class cInst, class cChromo, class cThreadData, class cGroup, class cObj>
singleton R::RThreadDataSG< cInst, cChromo, cThreadData, cGroup, cObj >

Similarity-based Grouping Genetic Algorithm "thread-dependent" Data.

The RThreadDataSG class provides a representation for "thread-dependent" data for the similarity-based grouping genetic algorithm.

Constructor & Destructor Documentation

RThreadDataSG ( cInst *  owner)

Construct the data.

Parameters
ownerInstance of the problem.
virtual ~RThreadDataSG ( void  )
virtual

Destruct the data.

Member Function Documentation

virtual void Init ( void  )
virtual

Member Data Documentation

R::RContainer<cGroup,false,false> ToDel

Groups to delete because they contain only one "social" object.

cObj** tmpObjs1

Temporary array of Objects.

cObj** tmpObjs2

Temporary array of Objects.

cChromo** Tests

Test Chromosomes.

RPromKernelSC<cChromo> Prom

PROMETHE Kernel used by the chromosome.

RPromSol** Sols

Array of solutions to create in PROMETHEE Kernel.

size_t NbSols

Number of derived solutions for the k-Means.