Description Usage Arguments Value Note Author(s)
perform calculations on cutList-objects depending on argument type
1 2 3 4  | calc.cutList(object, type, input)
## S4 method for signature 'cutList,character,list'
calc.cutList(object, type, input)
 | 
object | 
 an object of class   | 
type | 
 a character vector of length 1 defining what to calculate|return|modify. Allowed types are:  | 
 strengthen: strenghten constraints in argument object
 checkViolation: check if a given solution violates any in argument object
 bindTogether: combine two cutList-objects
input | 
 a list depending on argument   | 
type==strengthen: input is not used (empty list)
type==checkViolation: input is a list of length 2
first element: numeric vector specifying a solution to a linear problem
second element: numeric vector specifying weights
type==bindTogether: input is a list of length 1
 first element: object of class cutList 
manipulated data based on argument type
 an object of class cutList if argument type matches 'strengthen' or 'bindTogether'
 a logical vector of length 1 if argument type matches 'checkViolation' with TRUE if at least one constraint is violated by the given solution
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.