Class VarFreezeSelector

java.lang.Object
net.ssehub.easy.varModel.confModel.VarFreezeSelector
All Implemented Interfaces:
IFreezeSelector

public class VarFreezeSelector extends Object implements IFreezeSelector
A freeze selector which just freezes the given variable but not it's contained or its annotations.
Author:
Holger Eichelberger
  • Field Details

  • Constructor Details

    • VarFreezeSelector

      public VarFreezeSelector(IDecisionVariable variable)
      Creates an instance.
      Parameters:
      variable -
  • Method Details

    • shallFreeze

      public boolean shallFreeze(IDecisionVariable variable)
      Description copied from interface: IFreezeSelector
      Returns whether variable shall be frozen.
      Specified by:
      shallFreeze in interface IFreezeSelector
      Parameters:
      variable - the variable to be tested
      Returns:
      true if variable shall be frozen, false else
    • shallFreezeAnnotations

      public boolean shallFreezeAnnotations()
      Description copied from interface: IFreezeSelector
      Whether while freezing the selected variables also their annotations shall be frozen.
      Specified by:
      shallFreezeAnnotations in interface IFreezeSelector
      Returns:
      true for freezing annotations, false else