minor bug in PCon creation

This commit is contained in:
Christophe Alexandre 2006-05-24 13:34:21 +00:00
parent 90cbee404a
commit 4a382f312a
2 changed files with 7 additions and 3 deletions

View File

@ -43,8 +43,12 @@ PCon::PCon(const locon* con, phcon* pcon, int dx, int dy)
}
}
PCon::PCon(const locon* con, PPos pos, char orient):
PElem(), _con(con), _pos(pos), _orient(orient)
PCon::PCon(const locon* con, PPos pos, char orient)
: PElem()
, _con(con)
, _phcon(NULL)
, _pos(pos)
, _orient(orient)
{}
void

View File

@ -470,7 +470,7 @@ PPlacement::PlaceGlobal()
cout << " o " << 100.0 * _rejectedExchangeNumber / _totalMoves
<< " % of rejected instance exchange" << endl;
cout << " o Impossible Movements Stats .... "<< endl;
cout << " o If you find those value interesting, look for a doctor ..." << endl;
cout << " o If you find these values interesting, call a doctor..." << endl;
cout << " o Total impossible movements = " << totalImpossibleMovements << endl;
cout << " o " << 100.0 * _surOccupationTargetMovementNumber / totalImpossibleMovements
<< " % suroccupied target" << endl;