Learn R Programming

aslib (version 0.1.2)

getCostsAndPresolvedStatus: Return whether an instance was presolved and which step did it.

Description

Return whether an instance was presolved and which step did it.

Usage

getCostsAndPresolvedStatus(asscenario, feature.steps, type)

Value

[list]. Below, n is the number of instances. All following object are ordered by “instance_id”.

is.presolved [logical(n)]

Was instance presolved? Named by instance ids.

solve.steps [character(n)]

Which step solved it? NA if no step did it. Named by instance ids.

costs [numeric(n)]

Feature costs for using the steps. Named by instance ids. NULL if no costs are present.

Arguments

asscenario

[ASScenario]
Algorithm selection scenario.

feature.steps

[character]
Which feature steps are allowed? Default is all steps.

type

[character(1)]
Feature type (instance or algorithmic).