git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@790 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
9c87b3b0c0
commit
adb6419766
60 changed files with 1017 additions and 1095 deletions
|
|
@ -232,9 +232,9 @@ template < typename EntityType > class peoSynchronousMultiStart : public Service
|
|||
template < typename EntityType > void peoSynchronousMultiStart< EntityType >::packData()
|
||||
{
|
||||
|
||||
::pack( functionIndex );
|
||||
::pack( idx );
|
||||
::pack( ( EntityType& ) *data[ idx++ ] );
|
||||
pack( functionIndex );
|
||||
pack( idx );
|
||||
pack( ( EntityType& ) *data[ idx++ ] );
|
||||
|
||||
// done with functionIndex for the entire data set - moving to another
|
||||
// function/algorithm starting all over with the entire data set ( idx is set to 0 )
|
||||
|
|
@ -249,9 +249,9 @@ template < typename EntityType > void peoSynchronousMultiStart< EntityType >::pa
|
|||
template < typename EntityType > void peoSynchronousMultiStart< EntityType >::unpackData()
|
||||
{
|
||||
|
||||
::unpack( functionIndex );
|
||||
::unpack( dataIndex );
|
||||
::unpack( entityTypeInstance );
|
||||
unpack( functionIndex );
|
||||
unpack( dataIndex );
|
||||
unpack( entityTypeInstance );
|
||||
}
|
||||
|
||||
template < typename EntityType > void peoSynchronousMultiStart< EntityType >::execute()
|
||||
|
|
@ -268,15 +268,15 @@ template < typename EntityType > void peoSynchronousMultiStart< EntityType >::ex
|
|||
template < typename EntityType > void peoSynchronousMultiStart< EntityType >::packResult()
|
||||
{
|
||||
|
||||
::pack( dataIndex );
|
||||
::pack( entityTypeInstance );
|
||||
pack( dataIndex );
|
||||
pack( entityTypeInstance );
|
||||
}
|
||||
|
||||
template < typename EntityType > void peoSynchronousMultiStart< EntityType >::unpackResult()
|
||||
{
|
||||
|
||||
::unpack( dataIndex );
|
||||
::unpack( entityTypeInstance );
|
||||
unpack( dataIndex );
|
||||
unpack( entityTypeInstance );
|
||||
|
||||
// wrapping the unpacked data - the definition of an abstract algorithm imposes
|
||||
// that its internal function operator acts only on abstract data types
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue