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 class
sdcProblem
if argumenttype
matches
'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 argument
type
matches 'heuristicSolution' - a list if
argument
type
matches 'preprocess' having following
elements:- element 'sdcProblem': an object
of class
sdcProblem
- element 'aProb': an object
of class
linProb
- element 'validCuts': an
object of class
cutList
- a numeric vector of
length 1 specifying the index of the cell of interest if
argument
type
matches 'cellID' - an object of
class
safeObj
if argumenttype
matches
'finalize' - a list if argument
type
matches
'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 argument
type
matches 'ghmiter.calcInformation' - a list
containing information about a single quader that should be
suppressed if argument
type
matches
'ghmiter.selectQuader' - a numeric vector with indices
that contribute to the desired table cell if argument
type
matches 'contributingIndices' - an object
of class
cutList
if argumenttype
matches
'genStructuralCuts'