NNGGA "thread-dependent" Data. More...

#include <rinstnn.h>

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

Public Member Functions

 RThreadDataNN (cInst *owner)
 
virtual void Init (void)
 
virtual ~RThreadDataNN (void)
 
- Public Member Functions inherited from RThreadDataG< cInst, cChromo, RFitnessNN, 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
 
- Public Attributes inherited from RThreadData< cInst, cChromo >
cInst * Owner
 

Additional Inherited Members

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

Detailed Description

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

NNGGA "thread-dependent" Data.

The RThreadDataSG class provides a representation for "thread-dependent" data for the Nearest Neighbors Grouping Genetic Algorithm.

Constructor & Destructor Documentation

RThreadDataNN ( cInst *  owner)

Construct the data.

Parameters
ownerInstance of the problem.
virtual ~RThreadDataNN ( 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.