Subversion Repositories Games.Chess Giants

Rev

Rev 169 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 169 Rev 185
Line 4... Line 4...
4
  Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad
4
  Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad
5
  Copyright (C) 2015-2018 Marco Costalba, Joona Kiiski, Gary Linscott, Tord Romstad
5
  Copyright (C) 2015-2019 Marco Costalba, Joona Kiiski, Gary Linscott, Tord Romstad
6
 
6
 
7
  Stockfish is free software: you can redistribute it and/or modify
7
  Stockfish is free software: you can redistribute it and/or modify
8
  it under the terms of the GNU General Public License as published by
8
  it under the terms of the GNU General Public License as published by
9
  the Free Software Foundation, either version 3 of the License, or
9
  the Free Software Foundation, either version 3 of the License, or
10
  (at your option) any later version.
10
  (at your option) any later version.
Line 54... Line 54...
54
                                        :  SCALE_FACTOR_NONE;
54
                                        :  SCALE_FACTOR_NONE;
55
    return sf != SCALE_FACTOR_NONE ? sf : ScaleFactor(factor[c]);
55
    return sf != SCALE_FACTOR_NONE ? sf : ScaleFactor(factor[c]);
56
  }
56
  }
57
 
57
 
58
  Key key;
58
  Key key;
59
  EndgameBase<Value>* evaluationFunction;
59
  const EndgameBase<Value>* evaluationFunction;
60
  EndgameBase<ScaleFactor>* scalingFunction[COLOR_NB]; // Could be one for each
60
  const EndgameBase<ScaleFactor>* scalingFunction[COLOR_NB]; // Could be one for each
61
                                                       // side (e.g. KPKP, KBPsKs)
61
                                                             // side (e.g. KPKP, KBPsKs)
62
  int16_t value;
62
  int16_t value;
63
  uint8_t factor[COLOR_NB];
63
  uint8_t factor[COLOR_NB];
64
  Phase gamePhase;
64
  Phase gamePhase;
65
};
65
};
66
 
66