AI Module


Uses


Contents


Functions

public function project_down(F, P) result(y)

Arguments

Type IntentOptional AttributesName
class(Field), intent(in) :: F
class(Piece), intent(in) :: P

Return Value integer

public function height(F, P)

Arguments

Type IntentOptional AttributesName
class(Field), intent(in) :: F
class(Piece), intent(in) :: P

Return Value integer

public pure function diff(A)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: A(:)

Return Value integer


Subroutines

public subroutine AI_input(F, P)

Arguments

Type IntentOptional AttributesName
class(Field), intent(in) :: F
class(Piece), intent(inout) :: P

public subroutine seek_deep(F, P)

Arguments

Type IntentOptional AttributesName
class(Field), intent(in) :: F
class(Piece), intent(inout) :: P

public subroutine down_random(P)

Arguments

Type IntentOptional AttributesName
class(Piece), intent(inout) :: P

public subroutine move_random(P)

Arguments

Type IntentOptional AttributesName
class(Piece), intent(inout) :: P