sdcTable (version 0.20.5)

calc.sdcProblem: perform calculations on sdcProblem-objects depending on argument type

Description

perform calculations on sdcProblem-objects depending on argument type

Usage

calc.sdcProblem(object, type, input)

## S3 method for class 'sdcProblem,character,list': calc.sdcProblem(object, type, input)

Arguments

object
an object of class sdcProblem
type
a character vector of length 1 defining what to calculate|return|modify. Allowed types are:
input
a list depending on argument type.

Value

  • information from objects of class sdcProblem depending on argument type
    • an object of classsdcProblemif argumenttypematches 'rule.freq', 'rule.nk', 'rule.p', 'cutAndBranch', 'anonWorker', 'ghmiter', 'ghmiter.supressQuader', 'ghmiter.suppressAdditionalQuader' or 'reduceProblem'
    • a numeric vector with elements being 0 or 1 if argumenttypematches 'heuristicSolution'
    • a list if argumenttypematches 'preprocess' having following elements:
      • element 'sdcProblem': an object of classsdcProblem
      • element 'aProb': an object of classlinProb
      • element 'validCuts': an object of classcutList
    • a numeric vector of length 1 specifying the index of the cell of interest if argumenttypematches 'cellID'
    • an object of classsafeObjif argumenttypematches 'finalize'
    • a list if argumenttypematches 'ghmiter.diagObj' having following elements:
      • element 'cellToProtect': character vector of length 1 defining the ID of the cell to protect
      • element 'indToProtect': numeric vector of length 1 defining the index of the cell to protect
      • element 'diagIndices': numeric vector defining indices of possible cells defining cubes
    • a list containing information about each quader that could possibly be suppressed if argumenttypematches 'ghmiter.calcInformation'
    • a list containing information about a single quader that should be suppressed if argumenttypematches 'ghmiter.selectQuader'
    • a numeric vector with indices that contribute to the desired table cell if argumenttypematches 'contributingIndices'
    • an object of classcutListif argumenttypematches 'genStructuralCuts'