update directory structure

This commit is contained in:
2023-05-30 17:16:48 +08:00
parent 4968e6400e
commit 50111160e3
37 changed files with 150 additions and 159 deletions
+3 -4
View File
@@ -1,9 +1,8 @@
from tugo.encoders.base import Encoder
from tugo.encoders.utils import is_ladder_escape, is_ladder_capture
from tugo.gotypes import Point, Player
from tugo.goboard_fast import Move
from tugo.agent.helpers_fast import is_point_an_eye
import numpy as np
from game_logic.gotypes import Point, Player
from game_logic.goboard_fast import Move
from tugo.agents.helpers_fast import is_point_an_eye
import torch
"""
+1 -1
View File
@@ -1,7 +1,7 @@
import numpy as np
from tugo.encoders.base import Encoder
from tugo.goboard import Point
from game_logic.goboard import Point
+1 -1
View File
@@ -2,7 +2,7 @@
import numpy as np
from tugo.encoders.base import Encoder
from tugo.goboard import Move, Point
from game_logic.goboard import Move, Point
class SevenPlaneEncoder(Encoder):
+2 -2
View File
@@ -1,8 +1,8 @@
import numpy as np
from tugo.encoders.base import Encoder
from tugo.goboard import Move
from tugo.gotypes import Player, Point
from game_logic.goboard import Move
from game_logic.gotypes import Player, Point
class SimpleEncoder(Encoder):
+1 -1
View File
@@ -1,4 +1,4 @@
from tugo.goboard import Move
from game_logic.goboard import Move
def is_ladder_capture(game_state, candidate, recursion_depth=50):