Introduce Eval namespace

Wrap evaluation related stuff and reshuffle
a bit the code.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2012-03-06 10:09:37 +01:00
parent 843a5961e1
commit 4220f191d8
6 changed files with 114 additions and 111 deletions

View File

@@ -24,10 +24,14 @@
class Position;
extern Value evaluate(const Position& pos, Value& margin);
extern std::string trace_evaluate(const Position& pos);
extern void eval_init();
namespace Eval {
extern Color EvalRootColor;
extern Color RootColor;
extern void init();
extern Value evaluate(const Position& pos, Value& margin);
extern std::string trace(const Position& pos);
}
#endif // !defined(EVALUATE_H_INCLUDED)