-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #316 from lrozenblyum/EvaluatorsSymmetry-293
Evaluators symmetry 293 - main feature from 0.5
- Loading branch information
Showing
48 changed files
with
947 additions
and
340 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/main/java/com/leokom/chess/player/legal/brain/common/SideEvaluator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.leokom.chess.player.legal.brain.common; | ||
|
||
import com.leokom.chess.engine.Position; | ||
import com.leokom.chess.engine.Side; | ||
|
||
@FunctionalInterface | ||
public interface SideEvaluator { | ||
/** | ||
* Evaluate position from point of view of the given side | ||
* @param position position to analyze | ||
* @param side side of interest | ||
* @return a position evaluation | ||
*/ | ||
double evaluatePosition( Position position, Side side ); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 0 additions & 50 deletions
50
src/main/java/com/leokom/chess/player/legal/brain/denormalized/AttackIndexCalculator.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.