minor bug in PCon creation
This commit is contained in:
parent
90cbee404a
commit
4a382f312a
|
@ -43,8 +43,12 @@ PCon::PCon(const locon* con, phcon* pcon, int dx, int dy)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PCon::PCon(const locon* con, PPos pos, char orient):
|
PCon::PCon(const locon* con, PPos pos, char orient)
|
||||||
PElem(), _con(con), _pos(pos), _orient(orient)
|
: PElem()
|
||||||
|
, _con(con)
|
||||||
|
, _phcon(NULL)
|
||||||
|
, _pos(pos)
|
||||||
|
, _orient(orient)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -470,7 +470,7 @@ PPlacement::PlaceGlobal()
|
||||||
cout << " o " << 100.0 * _rejectedExchangeNumber / _totalMoves
|
cout << " o " << 100.0 * _rejectedExchangeNumber / _totalMoves
|
||||||
<< " % of rejected instance exchange" << endl;
|
<< " % of rejected instance exchange" << endl;
|
||||||
cout << " o Impossible Movements Stats .... "<< 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 Total impossible movements = " << totalImpossibleMovements << endl;
|
||||||
cout << " o " << 100.0 * _surOccupationTargetMovementNumber / totalImpossibleMovements
|
cout << " o " << 100.0 * _surOccupationTargetMovementNumber / totalImpossibleMovements
|
||||||
<< " % suroccupied target" << endl;
|
<< " % suroccupied target" << endl;
|
||||||
|
|
Loading…
Reference in New Issue