Class ExplainingObjective

  • All Implemented Interfaces:
    INeighbor

    public class ExplainingObjective
    extends ExplainingCut
    a specific neighborhood for LNS based on the explanation of the objective variable.

    This neightborhood is specific in the sense that it needs to compute explanation on a solution. Furthermore, the fixSomeVariables method creates and applies decision, so that the explanation recorder can infer.

    Since:
    03/07/13
    Author:
    Charles Prud'homme
    • Constructor Detail

      • ExplainingObjective

        public ExplainingObjective​(Model aModel,
                                   int level,
                                   long seed)
        Create a neighborhood which analyses the explanation of the objective current value to focus on decisions more prone to improve its value
        Parameters:
        aModel - a model
        level - relaxong factor
        seed - for randomness
    • Method Detail

      • _fixVar

        protected void _fixVar()
        Description copied from class: ExplainingCut
        Regarding the explanation, pick decisions to create a fragment
        Overrides:
        _fixVar in class ExplainingCut
      • explain

        protected void explain()
        Description copied from class: ExplainingCut
        Force the failure, apply decisions to the last solution + cut => failure!
        Overrides:
        explain in class ExplainingCut