choco.cp.solver.constraints.global.geost.externalConstraints
Class DistLeq

java.lang.Object
  extended by choco.cp.solver.constraints.global.geost.externalConstraints.ExternalConstraint
      extended by choco.cp.solver.constraints.global.geost.externalConstraints.DistLeq
All Implemented Interfaces:
Externalizable, Serializable

public final class DistLeq
extends ExternalConstraint
implements Externalizable

Created by IntelliJ IDEA. User: szampelli Date: 3 f�vr. 2009 Time: 16:29:15 To change this template use File | Settings | File Templates.

See Also:
Serialized Form

Field Summary
 int D
           
 IntDomainVar DVar
           
 int id
           
 int o1
           
 int o2
           
 int q
           
 
Fields inherited from class choco.cp.solver.constraints.global.geost.externalConstraints.ExternalConstraint
dim, ectrID, frame, maxId, objectIds
 
Constructor Summary
DistLeq()
           
DistLeq(int ectrID, int[] dimensions, int[] objectIdentifiers, int D_, int q_)
           
DistLeq(int ectrID, int[] dimensions, int[] objectIdentifiers, int D_, int q_, IntDomainVar var)
           
 
Method Summary
 int getCstrId()
           
 IntDomainVar getDistanceVar()
           
 boolean hasDistanceVar()
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class choco.cp.solver.constraints.global.geost.externalConstraints.ExternalConstraint
getDim, getEctrID, getFrame, getObjectIds, setDim, setFrame, setObjectIds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

public int id

D

public int D

o1

public int o1

o2

public int o2

q

public int q

DVar

public IntDomainVar DVar
Constructor Detail

DistLeq

public DistLeq()

DistLeq

public DistLeq(int ectrID,
               int[] dimensions,
               int[] objectIdentifiers,
               int D_,
               int q_)

DistLeq

public DistLeq(int ectrID,
               int[] dimensions,
               int[] objectIdentifiers,
               int D_,
               int q_,
               IntDomainVar var)
Method Detail

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

toString

public String toString()
Overrides:
toString in class Object

hasDistanceVar

public boolean hasDistanceVar()

getDistanceVar

public IntDomainVar getDistanceVar()

getCstrId

public int getCstrId()


Copyright © 2012. All Rights Reserved.