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

A Cloneable version of CumulativeOptional. More...

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

Public Member Functions

 CumulativeOptionalCloneable (IntVarCloneable[] starts, IntVarCloneable[] durations, IntVarCloneable[] resources, IntVarCloneable limit, IntVarCloneable[] opt)
 CumulativeOptionalCloneable (List<? extends IntVarCloneable > starts, List<? extends IntVarCloneable > durations, List<? extends IntVarCloneable > resources, IntVarCloneable limit, List<? extends IntVarCloneable > opt)
CumulativeOptionalCloneable 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 IntVarCloneable[] opt
 The variables informing whether the tasks is present or not.

Detailed Description

A Cloneable version of CumulativeOptional.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ CumulativeOptionalCloneable() [1/2]

org.jacop.constraints.cumulative.CumulativeOptionalCloneable.CumulativeOptionalCloneable ( IntVarCloneable[] starts,
IntVarCloneable[] durations,
IntVarCloneable[] resources,
IntVarCloneable limit,
IntVarCloneable[] opt )
It creates a cumulative constraint.

@param starts    variables denoting starts of the tasks.
@param durations variables denoting durations of the tasks.
@param resources variables denoting resource usage of the tasks.
@param limit     the overall limit of resources which has to be used.
Parameters
optvariables informing whether the tasks is present or not.

References durations, opt, resources, and starts.

Referenced by cloneInto().

◆ CumulativeOptionalCloneable() [2/2]

org.jacop.constraints.cumulative.CumulativeOptionalCloneable.CumulativeOptionalCloneable ( List<? extends IntVarCloneable > starts,
List<? extends IntVarCloneable > durations,
List<? extends IntVarCloneable > resources,
IntVarCloneable limit,
List<? extends IntVarCloneable > opt )
It creates a cumulative constraint.

@param starts    variables denoting starts of the tasks.
@param durations variables denoting durations of the tasks.
@param resources variables denoting resource usage of the tasks.
@param limit     the overall limit of resources which has to be used.
Parameters
optvariables informing whether the tasks is present or not.

References durations, opt, resources, and starts.

Member Function Documentation

◆ cloneInto()

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

Member Data Documentation

◆ durations

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

The duration variables originally passed to the constructor.

Referenced by CumulativeOptionalCloneable(), and CumulativeOptionalCloneable().

◆ opt

final IntVarCloneable [] org.jacop.constraints.cumulative.CumulativeOptionalCloneable.opt
private

The variables informing whether the tasks is present or not.

Referenced by CumulativeOptionalCloneable(), and CumulativeOptionalCloneable().

◆ resources

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

The resource variables originally passed to the constructor.

Referenced by CumulativeOptionalCloneable(), and CumulativeOptionalCloneable().

◆ starts

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

The start variables originally passed to the constructor.

Referenced by CumulativeOptionalCloneable(), and CumulativeOptionalCloneable().


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