Description Usage Arguments Value Note Author(s)
perform calculations on multiple objects depending on argument type
1 2 3 4 | calc.multiple(type, input)
## S4 method for signature 'character,list'
calc.multiple(type, input)
|
type |
a character vector of length 1 defining what to calculate|return|modify. Allowed types are: |
makePartitions: information on subtables required for HITAS and HYPECUBE algorithms
genMatMFull: the constraint matrix used in the master problem
makeAttackerProblem: set up the attackers problem for a given (sub)table
calcFullProblem: calculate a complete problem object containing all information required to solve the secondary cell suppression problem
input |
a list depending on argument |
if type matches 'makePartitions', 'genMatMFull' or 'makeAttackerProblem': a list of length 2 with elements 'objectA' and 'objectB'
element 'object A': an object of class problemInstance
element 'object B': an object of class dimInfo
type matches 'calcFullProblem': a list of length 1
element 'object A': an object of class dataObj
element 'object B': an object of class dimInfo
manipulated data based on argument type
list with elements 'groups', 'indices', 'strIDs', 'nrGroups' and 'nrTables' if argument type
matches 'makePartitions'
object of class simpleTriplet
if argument type
matches 'genMatMFull'
object of class linProb
if argument type
matches 'makeAttackerProblem'
object of class sdcProblem
if argument type
matches 'calcFullProblem'
internal function
Bernhard Meindl bernhard.meindl@statistik.gv.at
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.