git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1404 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
1e3a6c0eba
commit
a9bcdff3ec
1 changed files with 6 additions and 6 deletions
|
|
@ -115,7 +115,7 @@ class MOEO : public EO < MOEOObjectiveVector >
|
||||||
diversityValue = Diversity();
|
diversityValue = Diversity();
|
||||||
// invalidate all
|
// invalidate all
|
||||||
invalidate();
|
invalidate();
|
||||||
flag=0;
|
flagValue=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -337,16 +337,16 @@ class MOEO : public EO < MOEOObjectiveVector >
|
||||||
* Setter for "flag"
|
* Setter for "flag"
|
||||||
* @param _flag the flag value
|
* @param _flag the flag value
|
||||||
*/
|
*/
|
||||||
void setFlag(int _flag){
|
void flag(int _flag){
|
||||||
flag=_flag;
|
flagValue=_flag;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Getter for "flag"
|
* Getter for "flag"
|
||||||
* @return the flag value
|
* @return the flag value
|
||||||
*/
|
*/
|
||||||
int getFlag(){
|
int flag(){
|
||||||
return flag;
|
return flagValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -365,7 +365,7 @@ class MOEO : public EO < MOEOObjectiveVector >
|
||||||
/** true if the diversity value is invalid */
|
/** true if the diversity value is invalid */
|
||||||
bool invalidDiversityValue;
|
bool invalidDiversityValue;
|
||||||
/** A flag which can be used to stock information*/
|
/** A flag which can be used to stock information*/
|
||||||
int flag;
|
int flagValue;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue