FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
org.jacop.constraints.SoftGCCCloneable Class Reference

A cloneable version of the SoftGCC constraint. More...

Inheritance diagram for org.jacop.constraints.SoftGCCCloneable:

Classes

class  SoftGCCBuilderCloneable
 A NetworkBuilder for SoftGCCCloneable. More...

Public Member Functions

 SoftGCCCloneable (IntVarCloneable[] xVars, IntVarCloneable[] hardCounters, IntVarCloneable[] softCounters, IntVarCloneable costVar, ViolationMeasure violationMeasure)
 It specifies soft-GCC constraint.
 SoftGCCCloneable (IntVarCloneable[] xVars, IntVarCloneable[] hardCounters, int[] countedValue, IntVarCloneable[] softCounters, IntVarCloneable costVar, ViolationMeasure violationMeasure)
 It specifies soft-GCC constraint.
 SoftGCCCloneable (IntVarCloneable[] xVars, IntVarCloneable[] hardCounters, int[] softLowerBound, int[] softUpperBound, IntVarCloneable costVar, ViolationMeasure violationMeasure)
 It specifies soft-GCC constraint.
 SoftGCCCloneable (IntVarCloneable[] xVars, int[] hardLowerBound, int[] hardUpperBound, IntVarCloneable[] softCounters, IntVarCloneable costVar, ViolationMeasure violationMeasure)
 It specifies soft-GCC constraint.
 SoftGCCCloneable (IntVarCloneable[] xVars, IntVarCloneable[] hardCounters, int[] countedValue, int[] softLowerBound, int[] softUpperBound, IntVarCloneable costVar, ViolationMeasure violationMeasure)
 It specifies soft-GCC constraint.
 SoftGCCCloneable (IntVarCloneable[] xVars, int[] hardLowerBound, int[] hardUpperBound, int[] countedValue, IntVarCloneable[] softCounters, IntVarCloneable costVar, ViolationMeasure violationMeasure)
 It specifies soft-GCC constraint.
SoftGCCCloneable cloneInto (StoreCloneable targetStore) throws FailException
List< IntVar > arguments ()
String id ()
List< Constraint > decompose (Store store)
Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< SoftGCCCloneable >
abstract C cloneInto (StoreCloneable targetStore) throws CloneNotSupportedException, FailException
 Creates a new constraint that is a (state-less) clone of this one, but expressed on the variables with the same names found in the input store.

Private Attributes

final String id
 This constraint's ID/name.

Static Private Attributes

static int idNbr = 0
 Used to increment the id of constraints.

Detailed Description

A cloneable version of the SoftGCC constraint.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ SoftGCCCloneable() [1/6]

org.jacop.constraints.SoftGCCCloneable.SoftGCCCloneable ( IntVarCloneable[] xVars,
IntVarCloneable[] hardCounters,
IntVarCloneable[] softCounters,
IntVarCloneable costVar,
ViolationMeasure violationMeasure )

It specifies soft-GCC constraint.

Parameters
xVarsvariables over which counting takes place.
hardCounterscounter variables for different values being counted. (hard)
softCounterscounter variables that may be violated.
costVara cost variable specifying the cost of violations.
violationMeasureit is only accepted to use Value_Based violation measure.

References idNbr.

Referenced by cloneInto().

◆ SoftGCCCloneable() [2/6]

org.jacop.constraints.SoftGCCCloneable.SoftGCCCloneable ( IntVarCloneable[] xVars,
IntVarCloneable[] hardCounters,
int[] countedValue,
IntVarCloneable[] softCounters,
IntVarCloneable costVar,
ViolationMeasure violationMeasure )

It specifies soft-GCC constraint.

Parameters
xVarsvariables over which counting takes place.
hardCounterscounter variables for different values being counted. (hard)
countedValueit specifies values which occurrence is being counted.
softCounterscounter variables for different values being counted. (soft)
costVara cost variable specifying the cost of violations.
violationMeasureit is only accepted to use Value_Based violation measure.

References idNbr.

◆ SoftGCCCloneable() [3/6]

org.jacop.constraints.SoftGCCCloneable.SoftGCCCloneable ( IntVarCloneable[] xVars,
IntVarCloneable[] hardCounters,
int[] softLowerBound,
int[] softUpperBound,
IntVarCloneable costVar,
ViolationMeasure violationMeasure )

It specifies soft-GCC constraint.

Parameters
xVarsvariables over which counting takes place.
hardCounterscounter variables for different values being counted. (hard)
softLowerBoundit specifies constraint what is the minimal number of occurrences. (soft)
softUpperBoundit specifies constraint what is the maximal number of occurrences. (soft)
costVara cost variable specifying the cost of violations.
violationMeasureit is only accepted to use Value_Based violation measure.

References idNbr.

◆ SoftGCCCloneable() [4/6]

org.jacop.constraints.SoftGCCCloneable.SoftGCCCloneable ( IntVarCloneable[] xVars,
int[] hardLowerBound,
int[] hardUpperBound,
IntVarCloneable[] softCounters,
IntVarCloneable costVar,
ViolationMeasure violationMeasure )

It specifies soft-GCC constraint.

Parameters
xVarsvariables over which counting takes place.
hardLowerBoundit specifies constraint what is the minimal number of occurrences. (hard)
hardUpperBoundit specifies constraint what is the maximal number of occurrences. (hard)
softCounterscounter variables for different values being counted. (soft)
costVara cost variable specifying the cost of violations.
violationMeasureit is only accepted to use Value_Based violation measure.

References idNbr.

◆ SoftGCCCloneable() [5/6]

org.jacop.constraints.SoftGCCCloneable.SoftGCCCloneable ( IntVarCloneable[] xVars,
IntVarCloneable[] hardCounters,
int[] countedValue,
int[] softLowerBound,
int[] softUpperBound,
IntVarCloneable costVar,
ViolationMeasure violationMeasure )

It specifies soft-GCC constraint.

Parameters
xVarsvariables over which counting takes place.
hardCounterscounter variables for different values being counted. Their domain specify hard constraints on the occurrences.
countedValueit specifies values which occurrence is being counted.
softLowerBoundit specifies constraint what is the minimal number of occurrences.
softUpperBoundit specifies constraint what is the maximal number of occurrences.
costVara cost variable specifying the cost of violations.
violationMeasureit is only accepted to use Value_Based violation measure.

References idNbr.

◆ SoftGCCCloneable() [6/6]

org.jacop.constraints.SoftGCCCloneable.SoftGCCCloneable ( IntVarCloneable[] xVars,
int[] hardLowerBound,
int[] hardUpperBound,
int[] countedValue,
IntVarCloneable[] softCounters,
IntVarCloneable costVar,
ViolationMeasure violationMeasure )

It specifies soft-GCC constraint.

Parameters
xVarsvariables over which counting takes place.
hardLowerBoundit specifies constraint what is the minimal number of occurrences. (hard)
hardUpperBoundit specifies constraint what is the maximal number of occurrences. (hard)
countedValueit specifies values which occurrence is being counted.
softCountersit specifies the number of occurrences (soft).
costVara cost variable specifying the cost of violations.
violationMeasureit is only accepted to use Value_Based violation measure.

References idNbr.

Member Function Documentation

◆ arguments()

List< IntVar > org.jacop.constraints.SoftGCCCloneable.arguments ( )

◆ cloneInto()

SoftGCCCloneable org.jacop.constraints.SoftGCCCloneable.cloneInto ( StoreCloneable targetStore) throws FailException

◆ decompose()

List< Constraint > org.jacop.constraints.SoftGCCCloneable.decompose ( Store store)
See also
org.jacop.constraints.SoftGCC#decompose(org.jacop.core.Store)

◆ id()

Member Data Documentation

◆ id

final String org.jacop.constraints.SoftGCCCloneable.id
private

This constraint's ID/name.

◆ idNbr

int org.jacop.constraints.SoftGCCCloneable.idNbr = 0
staticprivate

Used to increment the id of constraints.

Referenced by SoftGCCCloneable(), SoftGCCCloneable(), SoftGCCCloneable(), SoftGCCCloneable(), SoftGCCCloneable(), and SoftGCCCloneable().


The documentation for this class was generated from the following file: