Interface Solver

All Known Implementing Classes:
ExhaustiveSolver
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Solver
Searches the portfolios a SolveProblem allows and returns the trade-off frontier and the recommended option. A solver must be deterministic: the same problem gives the same solution, with ties broken by MetroPortfolio.key().
  • Method Details