choco.kernel.model
Interface IOptions

All Known Subinterfaces:
Constraint, Variable
All Known Implementing Classes:
AbstractConstraint, AbstractVariable, ComponentConstraint, ComponentConstraintWithSubConstraints, ComponentVariable, GeostObject, IntegerConstantVariable, IntegerExpressionVariable, IntegerVariable, MetaConstraint, MetaIntegerExpressionVariable, MetaTaskConstraint, ModelObject, MultipleVariables, RealConstantVariable, RealExpressionVariable, RealVariable, SetConstantVariable, SetExpressionVariable, SetVariable, TaskVariable, TemporalConstraint, TreeNodeObject, TreeParametersObject

public interface IOptions


Method Summary
 void addOption(String option)
          Add an option to the pool of option.
 void addOptions(List<String> options)
          Add a list of options to the pool of options of the object
 void addOptions(Set<String> options)
          Add a set of options to the pool of options of the object
 void addOptions(String options)
          Add several options to the pool of option.
 void addOptions(String[] options)
          Add an array of options to the pool of options of the object
 boolean containsOption(String option)
          check if the option is activated
 List<String> getOptions()
          Get the pool of unique options
 

Method Detail

addOption

void addOption(String option)
Add an option to the pool of option.

Parameters:
the - option.

addOptions

void addOptions(String options)
Add several options to the pool of option.

Parameters:
options -

addOptions

void addOptions(String[] options)
Add an array of options to the pool of options of the object

Parameters:
options - array of options

addOptions

void addOptions(List<String> options)
Add a list of options to the pool of options of the object

Parameters:
options - set of options

addOptions

void addOptions(Set<String> options)
Add a set of options to the pool of options of the object

Parameters:
options - set of options

getOptions

List<String> getOptions()
Get the pool of unique options

Returns:
set of options

containsOption

boolean containsOption(String option)
check if the option is activated

Returns:
true if the set contains the option


Copyright © 2012. All Rights Reserved.