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

A Cloneable variant of CumulativeUnaryOptional. More...

Inheritance diagram for org.jacop.constraints.cumulative.CumulativeUnaryOptionalCloneable:

Public Member Functions

 CumulativeUnaryOptionalCloneable (IntVarCloneable[] starts, IntVarCloneable[] durations, IntVarCloneable[] resources, IntVarCloneable limit, IntVarCloneable[] opt)
 It creates a cumulative constraint.
 CumulativeUnaryOptionalCloneable (IntVarCloneable[] starts, IntVarCloneable[] durations, IntVarCloneable[] resources, IntVarCloneable limit, IntVarCloneable[] opt, boolean doProfile)
 It creates a cumulative constraint.
 CumulativeUnaryOptionalCloneable (IntVarCloneable[] starts, IntVarCloneable[] durations, IntVarCloneable[] resources, IntVarCloneable limit, IntVarCloneable[] opt, boolean doProfile, boolean doEdgeFind)
 It creates a cumulative constraint.
 CumulativeUnaryOptionalCloneable (List<? extends IntVarCloneable > starts, List<? extends IntVarCloneable > durations, List<? extends IntVarCloneable > resources, IntVarCloneable limit, List<? extends IntVarCloneable > opt)
 It creates a cumulative constraint.
 CumulativeUnaryOptionalCloneable (List<? extends IntVarCloneable > starts, List<? extends IntVarCloneable > durations, List<? extends IntVarCloneable > resources, IntVarCloneable limit, List<? extends IntVarCloneable > opt, boolean doProfile)
 It creates a cumulative constraint.
CumulativeUnaryOptionalCloneable cloneInto (StoreCloneable targetStore) throws FailException

Private Attributes

final IntVarCloneable[] starts
 The start variables originally passed to the constructor.
final IntVarCloneable[] durations
 The duration variables originally passed to the constructor.
final IntVarCloneable[] resources
 The resource variables originally passed to the constructor.
final boolean doProfile
 Defines whether to do profile-based propagation.
final boolean doEdgeFind
 Defines whether to do edge finding propagation (true) or not (false).

Detailed Description

A Cloneable variant of CumulativeUnaryOptional.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ CumulativeUnaryOptionalCloneable() [1/5]

org.jacop.constraints.cumulative.CumulativeUnaryOptionalCloneable.CumulativeUnaryOptionalCloneable ( IntVarCloneable[] starts,
IntVarCloneable[] durations,
IntVarCloneable[] resources,
IntVarCloneable limit,
IntVarCloneable[] opt )

It creates a cumulative constraint.

Parameters
startsvariables denoting starts of the tasks.
durationsvariables denoting durations of the tasks.
resourcesvariables denoting resource usage of the tasks.
limitthe overall limit of resources which has to be used.
optvariables informing whether the tasks is present or not.

References durations, resources, and starts.

Referenced by cloneInto().

◆ CumulativeUnaryOptionalCloneable() [2/5]

org.jacop.constraints.cumulative.CumulativeUnaryOptionalCloneable.CumulativeUnaryOptionalCloneable ( IntVarCloneable[] starts,
IntVarCloneable[] durations,
IntVarCloneable[] resources,
IntVarCloneable limit,
IntVarCloneable[] opt,
boolean doProfile )

It creates a cumulative constraint.

Parameters
startsvariables denoting starts of the tasks.
durationsvariables denoting durations of the tasks.
resourcesvariables denoting resource usage of the tasks.
limitthe overall limit of resources which has to be used.
doProfiledefines whether to do profile-based propagation (true) or not (false); default is false
optvariables informing whether the tasks is present or not.

References doProfile, durations, resources, and starts.

◆ CumulativeUnaryOptionalCloneable() [3/5]

org.jacop.constraints.cumulative.CumulativeUnaryOptionalCloneable.CumulativeUnaryOptionalCloneable ( IntVarCloneable[] starts,
IntVarCloneable[] durations,
IntVarCloneable[] resources,
IntVarCloneable limit,
IntVarCloneable[] opt,
boolean doProfile,
boolean doEdgeFind )

It creates a cumulative constraint.

Parameters
startsvariables denoting starts of the tasks.
durationsvariables denoting durations of the tasks.
resourcesvariables denoting resource usage of the tasks.
limitthe overall limit of resources which has to be used.
optvariables informing whether the tasks is present or not.
doProfiledefines whether to do profile-based propagation (true) or not (false); default is false
doEdgeFinddefines whether to do edge finding propagation (true) or not (false); default is true

References doEdgeFind, doProfile, durations, resources, and starts.

◆ CumulativeUnaryOptionalCloneable() [4/5]

org.jacop.constraints.cumulative.CumulativeUnaryOptionalCloneable.CumulativeUnaryOptionalCloneable ( List<? extends IntVarCloneable > starts,
List<? extends IntVarCloneable > durations,
List<? extends IntVarCloneable > resources,
IntVarCloneable limit,
List<? extends IntVarCloneable > opt )

It creates a cumulative constraint.

Parameters
startsvariables denoting starts of the tasks.
durationsvariables denoting durations of the tasks.
resourcesvariables denoting resource usage of the tasks.
limitthe overall limit of resources which has to be used.
optvariables informing whether the tasks is present or not.

References durations, resources, and starts.

◆ CumulativeUnaryOptionalCloneable() [5/5]

org.jacop.constraints.cumulative.CumulativeUnaryOptionalCloneable.CumulativeUnaryOptionalCloneable ( List<? extends IntVarCloneable > starts,
List<? extends IntVarCloneable > durations,
List<? extends IntVarCloneable > resources,
IntVarCloneable limit,
List<? extends IntVarCloneable > opt,
boolean doProfile )

It creates a cumulative constraint.

Parameters
startsvariables denoting starts of the tasks.
durationsvariables denoting durations of the tasks.
resourcesvariables denoting resource usage of the tasks.
limitthe overall limit of resources which has to be used.
optvariables informing whether the tasks is present or not.
doProfiledefines whether to do profile-based propagation (true) or not (false); default is false

References doProfile, durations, resources, and starts.

Member Function Documentation

◆ cloneInto()

CumulativeUnaryOptionalCloneable org.jacop.constraints.cumulative.CumulativeUnaryOptionalCloneable.cloneInto ( StoreCloneable targetStore) throws FailException

Member Data Documentation

◆ doEdgeFind

final boolean org.jacop.constraints.cumulative.CumulativeUnaryOptionalCloneable.doEdgeFind
private

Defines whether to do edge finding propagation (true) or not (false).

Referenced by CumulativeUnaryOptionalCloneable().

◆ doProfile

final boolean org.jacop.constraints.cumulative.CumulativeUnaryOptionalCloneable.doProfile
private

Defines whether to do profile-based propagation.

Referenced by CumulativeUnaryOptionalCloneable(), CumulativeUnaryOptionalCloneable(), and CumulativeUnaryOptionalCloneable().

◆ durations

final IntVarCloneable [] org.jacop.constraints.cumulative.CumulativeUnaryOptionalCloneable.durations
private

◆ resources

final IntVarCloneable [] org.jacop.constraints.cumulative.CumulativeUnaryOptionalCloneable.resources
private

◆ starts

final IntVarCloneable [] org.jacop.constraints.cumulative.CumulativeUnaryOptionalCloneable.starts
private

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