SolutionsIfc

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val capacity: Int

The capacity of the sequence of solutions.

Link copied to clipboard

A list of solutions that are input feasible ordered by penalized objective function.

Link copied to clipboard

A list of solutions ordered by penalized objective function. The solutions may or may not be feasible.

Functions

Link copied to clipboard
abstract fun add(solution: Solution): Solution?

Adds the solution to the solutions.

Link copied to clipboard
abstract fun addAll(solutions: List<Solution>): List<Solution>

Adds all the solutions to the sequence of solutions. If the capacity is met, then the oldest (first) item is evicted and returned. Each evicted item is returned in the order of eviction.

Link copied to clipboard
abstract fun clear()

Clears all solutions

Link copied to clipboard
abstract fun increaseCapacity(increase: Int = defaultCapacity)

Increases the capacity of the sequence of solutions. The default increase is to increase by defaultCapacity.

Link copied to clipboard
open fun orderedResponseFeasibleSolutions(overallCILevel: Double = 0.99): List<Solution>

A list of solutions ordered by penalized objective function that are input feasible and have tested as response constraint feasible.

Link copied to clipboard
abstract fun peekBest(): Solution?

The solution with the lowest penalized objective function value. The solution may or may not be feasible.

Link copied to clipboard
open fun possiblyBest(comparator: <Error class: unknown class><Solution>): Solutions

Returns a list of solutions that are possibly the best by using the supplied comparator.

open fun possiblyBest(level: Double = DEFAULT_CONFIDENCE_LEVEL, indifferenceZone: Double = 0.0): Solutions

Returns a list of solutions that are possibly the best by using a PenalizedObjectiveFunctionConfidenceIntervalComparator. The basic procedure is to select the smallest or largest solution as the best dependent on the objective. Then, this procedure uses the best solution as the standard and compares all the solutions with it in a pair-wise manner. Any solutions that are considered not statistically different from the best solution are returned. The confidence interval is for each individual comparison with the best. Thus, to control the overall confidence, users will want to adjust the individual confidence interval level such that the overall confidence in the process is controlled. See the theory of related to multi-comparison discussed here The process used here is approximate.

Link copied to clipboard
abstract fun remove(solution: Solution)

Removes the specified element

Link copied to clipboard
open fun toDataFrame(): AnyFrame

Returns a DataFrame of the data associated with the solutions.

Link copied to clipboard
open fun toDataMap(): Map<String, List<Double>>

Returns a map of the data associated with the solutions.