FarmRepresentation-class {farmR} | R Documentation |
Abstract Class providing generic methods to access properties of Farm objects
A virtual Class: No objects may be created from it.
signature(farm = "FarmRepresentation", cropName = "character")
: The area in hectares of the named crop. Should only be called on solved farm objects signature(object = "FarmRepresentation")
: A string vector with the names of all crops defined for this farm signature(farm = "FarmRepresentation")
: Enterprise output of the farm signature(object = "FarmRepresentation")
: Dump the internal representation of the farm to the screen. This is not pretty signature(farm = "FarmRepresentation")
: Returns 1 if the farm has been solved, 0 if not signature(farm = "FarmRepresentation")
: Get a reference to the internal java reference representing this farm signature(object = "FarmRepresentation")
: A string vector with the names of objectives that will be optimised in a call to solvelp signature(farm = "FarmRepresentation")
: A numeric vector with the relative weights (normalized) of objectives signature(farm = "FarmRepresentation")
: Get the values of the objectives. Should only be called for solved farms signature(farm = "FarmRepresentation")
: Get the value of the profit objective signature(farm = "FarmRepresentation", inputName = "character", inputCost = "numeric")
: Set the value of a particular input (potential values are "Input","Machinery","Fuel","Labour","AreaSubsidy"
) signature(object = "FarmRepresentation")
: Print a summary of the Farm to the screen signature(farm = "FarmRepresentation")
: Solve the Model Ira Cooke
See also Farm
CompositeFarm
and for concrete subclasses
showClass("FarmRepresentation")