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

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

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

Public Member Functions

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

Detailed Description

A cloneable version of the Cumulative constraint.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ CumulativeCloneable() [1/2]

org.jacop.constraints.cumulative.CumulativeCloneable.CumulativeCloneable ( 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().

◆ CumulativeCloneable() [2/2]

org.jacop.constraints.cumulative.CumulativeCloneable.CumulativeCloneable ( 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.

Member Function Documentation

◆ cloneInto()

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

Member Data Documentation

◆ durations

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

The duration variables originally passed to the constructor.

Referenced by CumulativeCloneable(), and CumulativeCloneable().

◆ resources

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

The resource variables originally passed to the constructor.

Referenced by CumulativeCloneable(), and CumulativeCloneable().

◆ starts

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

The start variables originally passed to the constructor.

Referenced by CumulativeCloneable(), and CumulativeCloneable().


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