删除未完成的 EVALUATE_ENABLE 相关代码

This commit is contained in:
Calcitem 2020-07-11 23:59:31 +08:00
parent 8e77d68a4d
commit 7486772fe6
3 changed files with 0 additions and 89 deletions

View File

@ -68,18 +68,6 @@
//#define TIME_STAT
//#define CYCLE_STAT
//#define EVALUATE_ENABLE
#ifdef EVALUATE_ENABLE
//#define EVALUATE_MATERIAL
//#define EVALUATE_SPACE
#define EVALUATE_MOBILITY
//#define EVALUATE_TEMPO
//#define EVALUATE_THREAT
//#define EVALUATE_SHAPE
//#define EVALUATE_MOTIF
#endif /* EVALUATE_ENABLE */
#define SORT_MOVE_WITH_HUMAN_KNOWLEDGES
#define TRANSPOSITION_TABLE_ENABLE

View File

@ -34,57 +34,6 @@ std::string trace(Position *pos);
Value evaluate(Position *pos);
#ifdef EVALUATE_ENABLE
#ifdef EVALUATE_MATERIAL
Value evaluateMaterial()
{
return 0;
}
#endif
#ifdef EVALUATE_SPACE
Value evaluateSpace()
{
return 0;
}
#endif
#ifdef EVALUATE_MOBILITY
Value evaluateMobility()
{
return 0;
}
#endif
#ifdef EVALUATE_TEMPO
Value evaluateTempo()
{
return 0;
}
#endif
#ifdef EVALUATE_THREAT
Value evaluateThreat()
{
return 0;
}
#endif
#ifdef EVALUATE_SHAPE
Value evaluateShape()
{
return 0;
}
#endif
#ifdef EVALUATE_MOTIF
Value AIAlgorithm::evaluateMotif()
{
return 0;
}
#endif
#endif /* EVALUATE_ENABLE */
};
#endif /* EVALUATE_H */

View File

@ -182,32 +182,6 @@ public:
public: /* TODO: Move to private or protected */
#ifdef EVALUATE_ENABLE
Value evaluate();
#ifdef EVALUATE_MATERIAL
Value evaluateMaterial();
#endif
#ifdef EVALUATE_SPACE
Value evaluateSpace();
#endif
#ifdef EVALUATE_MOBILITY
Value evaluateMobility();
#endif
#ifdef EVALUATE_TEMPO
Value evaluateTempo();
#endif
#ifdef EVALUATE_THREAT
Value evaluateThreat();
#endif
#ifdef EVALUATE_SHAPE
Value evaluateShape();
#endif
#ifdef EVALUATE_MOTIF
Value evaluateMotif();
#endif
#endif /* EVALUATE_ENABLE */
Value search(Depth depth, Value alpha, Value beta);
Value MTDF(Value firstguess, Depth depth);