decide: Decision maker

Description Usage Arguments Value

Description

Function to simulate a decision maker. Function decideRandom selects a solution uniformly at random. Function decideInteractive pauses the execution and asks the user for manual selection in the terminal. Function decideRank performs an order-based selection, i.e., one selects an objective and a quantile and the corresponding elements ordered by the selected objective is chosen.

Usage

1
2
3
4
5
decideRandom(fitness, ...)

decideInteractive(fitness, ...)

decideRank(fitness, obj = 1, q = 0.5, ...)

Arguments

fitness

[matrix]
Fitness matrix where each column represents one non-dominated solution.

...

[any]
Not used at the moment.

obj

[integer(1)]
Objective to use.

q

[numeric(1)]
Numeric values in [0, 1]. Used by decideRank.

Value

[integer(1)] Index, i.e., column number, of solution to decide for.


jakobbossek/dynvrp documentation built on Jan. 19, 2020, 9:53 p.m.