# builders.domain.scheduling.precedence
Domain specification
# WithPrecedence
A domain must inherit this class if there exist some predecence constraints between tasks.
# get_predecessors WithPrecedence
get_predecessors(
self
) -> dict[int, list[int]]
Return the predecessors of the task. Successors are given as a list for a task given as a key.
# get_successors WithPrecedence
get_successors(
self
) -> dict[int, list[int]]
Return the successors of the tasks. Successors are given as a list for a task given as a key.
# _get_predecessors WithPrecedence
_get_predecessors(
self
) -> dict[int, list[int]]
Return the predecessors of the task. Successors are given as a list for a task given as a key.
# _get_successors WithPrecedence
_get_successors(
self
) -> dict[int, list[int]]
Return the successors of the tasks. Successors are given as a list for a task given as a key.
# WithoutPrecedence
A domain must inherit this class if there are no predecence constraints between tasks.
# get_predecessors WithPrecedence
get_predecessors(
self
) -> dict[int, list[int]]
Return the predecessors of the task. Successors are given as a list for a task given as a key.
# get_successors WithPrecedence
get_successors(
self
) -> dict[int, list[int]]
Return the successors of the tasks. Successors are given as a list for a task given as a key.
# _get_predecessors WithPrecedence
_get_predecessors(
self
) -> dict[int, list[int]]
Return the successors of the tasks. Successors are given as a list for a task given as a key.
# _get_successors WithPrecedence
_get_successors(
self
) -> dict[int, list[int]]
Return the successors of the tasks. Successors are given as a list for a task given as a key.