Interface ITCSPSolver

All Known Implementing Classes:
GraphTCSPSolver

public interface ITCSPSolver
Abstraction for a TCSP solver
Since:
Revision 772
  • Method Summary

    Modifier and Type
    Method
    Description
    convertSolutionToString(List<org.jacop.core.IntVar> solution)
    Converts a solution into its string representation
    List<org.jacop.core.IntVar>
    solve(ITCSP problem)
    Solves the given TCSP using minimum selection.
    List<org.jacop.core.IntVar>
    solveRandom(ITCSP problem)
    Solves the given TCSP using random selection.
  • Method Details

    • solve

      List<org.jacop.core.IntVar> solve(ITCSP problem)
      Solves the given TCSP using minimum selection.
      Parameters:
      problem - The problem to solve
      Returns:
      The solution to the problem
      Since:
      Revision 772
    • solveRandom

      List<org.jacop.core.IntVar> solveRandom(ITCSP problem)
      Solves the given TCSP using random selection.
      Parameters:
      problem - The problem to solve
      Returns:
      The solution to the problem
      Since:
      Revision 772
    • convertSolutionToString

      List<String> convertSolutionToString(List<org.jacop.core.IntVar> solution)
      Converts a solution into its string representation
      Parameters:
      solution - The solution to convert
      Returns:
      A string representation of the solution
      Since:
      Revision 772