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

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

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

Public Member Functions

 CumulativeUnaryCloneable (IntVarCloneable[] starts, IntVarCloneable[] durations, IntVarCloneable[] resources, IntVarCloneable limit)
 It creates a cumulative constraint.
 CumulativeUnaryCloneable (IntVarCloneable[] starts, IntVarCloneable[] durations, IntVarCloneable[] resources, IntVarCloneable limit, boolean doProfile)
 It creates a cumulative constraint.
 CumulativeUnaryCloneable (List<? extends IntVarCloneable > starts, List<? extends IntVarCloneable > durations, List<? extends IntVarCloneable > resources, IntVarCloneable limit)
 It creates a cumulative constraint.
 CumulativeUnaryCloneable (List<? extends IntVarCloneable > starts, List<? extends IntVarCloneable > durations, List<? extends IntVarCloneable > resources, IntVarCloneable limit, boolean doProfile)
 It creates a cumulative constraint.
CumulativeUnaryCloneable 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.

Detailed Description

A cloneable version of the CumulativeUnary constraint.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ CumulativeUnaryCloneable() [1/4]

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

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.

References durations, resources, and starts.

Referenced by cloneInto().

◆ CumulativeUnaryCloneable() [2/4]

org.jacop.constraints.cumulative.CumulativeUnaryCloneable.CumulativeUnaryCloneable ( IntVarCloneable[] starts,
IntVarCloneable[] durations,
IntVarCloneable[] resources,
IntVarCloneable limit,
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

References doProfile, durations, resources, and starts.

◆ CumulativeUnaryCloneable() [3/4]

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

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.

References durations, resources, and starts.

◆ CumulativeUnaryCloneable() [4/4]

org.jacop.constraints.cumulative.CumulativeUnaryCloneable.CumulativeUnaryCloneable ( List<? extends IntVarCloneable > starts,
List<? extends IntVarCloneable > durations,
List<? extends IntVarCloneable > resources,
IntVarCloneable limit,
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

References doProfile, durations, resources, and starts.

Member Function Documentation

◆ cloneInto()

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

Member Data Documentation

◆ doProfile

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

Defines whether to do profile-based propagation.

Referenced by CumulativeUnaryCloneable(), and CumulativeUnaryCloneable().

◆ durations

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

The duration variables originally passed to the constructor.

Referenced by CumulativeUnaryCloneable(), CumulativeUnaryCloneable(), CumulativeUnaryCloneable(), and CumulativeUnaryCloneable().

◆ resources

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

The resource variables originally passed to the constructor.

Referenced by CumulativeUnaryCloneable(), CumulativeUnaryCloneable(), CumulativeUnaryCloneable(), and CumulativeUnaryCloneable().

◆ starts

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

The start variables originally passed to the constructor.

Referenced by CumulativeUnaryCloneable(), CumulativeUnaryCloneable(), CumulativeUnaryCloneable(), and CumulativeUnaryCloneable().


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