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

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

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

Public Member Functions

 CumulativePrimaryCloneable (IntVarCloneable[] starts, int[] durations, int[] resources, IntVarCloneable limit)
 It creates a cumulative constraint.
 CumulativePrimaryCloneable (List<? extends IntVarCloneable > starts, List<? extends Integer > durations, List<? extends Integer > resources, IntVarCloneable limit)
 It creates a cumulative constraint.
CumulativePrimaryCloneable cloneInto (StoreCloneable targetStore) throws FailException

Private Attributes

final IntVarCloneable[] starts
 The start variables originally passed to the constructor.
final int[] durations
 The durations originally passed to the constructor.
final int[] resources
 The resources originally passed to the constructor.

Detailed Description

A cloneable version of the CumulativePrimary constraint.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ CumulativePrimaryCloneable() [1/2]

org.jacop.constraints.cumulative.CumulativePrimaryCloneable.CumulativePrimaryCloneable ( IntVarCloneable[] starts,
int[] durations,
int[] 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().

◆ CumulativePrimaryCloneable() [2/2]

org.jacop.constraints.cumulative.CumulativePrimaryCloneable.CumulativePrimaryCloneable ( List<? extends IntVarCloneable > starts,
List<? extends Integer > durations,
List<? extends Integer > 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()

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

Member Data Documentation

◆ durations

final int [] org.jacop.constraints.cumulative.CumulativePrimaryCloneable.durations
private

The durations originally passed to the constructor.

Referenced by CumulativePrimaryCloneable(), and CumulativePrimaryCloneable().

◆ resources

final int [] org.jacop.constraints.cumulative.CumulativePrimaryCloneable.resources
private

The resources originally passed to the constructor.

Referenced by CumulativePrimaryCloneable(), and CumulativePrimaryCloneable().

◆ starts

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

The start variables originally passed to the constructor.

Referenced by CumulativePrimaryCloneable(), and CumulativePrimaryCloneable().


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