Documentation
ivanovReferee :: Field -> Team -> Team -> RefereeSource
data IvanovLongTermMemory Source
IvanovLongTermMemory | |
|
type TackleAction = (Victim, Offender, Velocity)Source
data IvanovShortTermMemory Source
IvanovShortTermMemory | |
|
type PunishedPlayer = (PlayerID, PunishedScore, [Reason])Source
type PunishedScore = IntSource
punishMore :: Reason -> Player -> PunishedScore -> IvanovShortTermMemory -> IvanovShortTermMemorySource
refBrainIvanov :: Field -> PlayingTime -> TimeUnit -> BallState -> Half -> Team -> Team -> (IvanovLongTermMemory, StdGen) -> ([RefereeAction], (IvanovLongTermMemory, StdGen))Source
isTackleVictim :: PlayerID -> [TackleAction] -> BoolSource
isTackleOffender :: PlayerID -> [TackleAction] -> BoolSource
nearLastRoundTackle :: Position -> [TackleAction] -> BoolSource
filterOutMeanActions :: [Player] -> [PlayerWithEffect] -> StdGen -> ([PlayerWithEffect], StdGen)Source
nextBallPos :: Position3D -> Speed3D -> (Position, XRadius, ZRadius) -> BoolSource