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

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

Inheritance diagram for org.jacop.constraints.netflow.ArithmeticCloneable:

Classes

class  ArithmeticBuilderCloneable
 A cloneable version of ArtithmeticBuilder. More...

Public Member Functions

 ArithmeticCloneable ()
 Default constructor.
ArithmeticCloneable cloneInto (StoreCloneable targetStore) throws CloneNotSupportedException, FailException
List<? extends Var > arguments ()
String id ()
List< Constraint > decompose (Store store)

Static Private Member Functions

static void flip (int[] eqn)
 Flips the signs in the input array.

Private Attributes

final String id
 This constraint's ID/name.

Static Private Attributes

static int idNbr = 0
 Used to increment the id of constraints.

Detailed Description

A cloneable version of the Arithmetic constraint.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ ArithmeticCloneable()

org.jacop.constraints.netflow.ArithmeticCloneable.ArithmeticCloneable ( )

Member Function Documentation

◆ arguments()

List<? extends Var > org.jacop.constraints.netflow.ArithmeticCloneable.arguments ( )

◆ cloneInto()

ArithmeticCloneable org.jacop.constraints.netflow.ArithmeticCloneable.cloneInto ( StoreCloneable targetStore) throws CloneNotSupportedException, FailException

◆ decompose()

List< Constraint > org.jacop.constraints.netflow.ArithmeticCloneable.decompose ( Store store)
See also
org.jacop.constraints.netflow.Arithmetic#decompose(org.jacop.core.Store)

◆ flip()

void org.jacop.constraints.netflow.ArithmeticCloneable.flip ( int[] eqn)
staticprivate

Flips the signs in the input array.

Parameters
eqnthe array

Referenced by org.jacop.constraints.netflow.ArithmeticCloneable.ArithmeticBuilderCloneable.ArithmeticBuilderCloneable().

◆ id()

String org.jacop.constraints.netflow.ArithmeticCloneable.id ( )

Member Data Documentation

◆ id

final String org.jacop.constraints.netflow.ArithmeticCloneable.id
private

This constraint's ID/name.

◆ idNbr

int org.jacop.constraints.netflow.ArithmeticCloneable.idNbr = 0
staticprivate

Used to increment the id of constraints.

Referenced by ArithmeticCloneable().


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