Generated on Fri Oct 6 16:26:44 2006 for Gecode/J by doxygen 1.4.7

IntView.java

Go to the documentation of this file.
00001 /*
00002  *  Main authors:
00003  *     Mikael Lagerkvist <lagerkvist@gecode.org>
00004  *     Guido Tack <tack@gecode.org>
00005  *
00006  *  Copyright:
00007  *     Mikael Lagerkvist, 2006
00008  *     Guido Tack, 2006
00009  *
00010  *  Last modified:
00011  *     $Date: 2006-09-11 17:06:50 +0200 (Mon, 11 Sep 2006) $ by $Author: zayenz $
00012  *     $Revision: 3650 $
00013  *
00014  *  This file is part of Gecode, the generic constraint
00015  *  development environment:
00016  *     http://www.gecode.org
00017  *
00018  *  See the file "LICENSE" for information on usage and
00019  *  redistribution of this file, and for a
00020  *     DISCLAIMER OF ALL WARRANTIES.
00021  *
00022  */
00023 
00024 package org.gecode;
00025 
00026 
00039 public interface IntView extends GecodeView {
00042     public IntView copy(JavaSpace s, boolean share);
00045     public void subscribe(JavaSpace s, JavaPropagator p, PropCond pc);
00048     public void cancel(JavaSpace s, JavaPropagator p, PropCond pc);
00049 
00052     public boolean assigned();
00055     public int val();
00058     public int min();
00061     public int max();
00064     public boolean in(int v);
00065 
00066 
00069     public IntModEvent lq(JavaSpace s, int i);
00072     public IntModEvent eq(JavaSpace s, int i);
00075     public IntModEvent gq(JavaSpace s, int i);
00078     public IntModEvent nq(JavaSpace s, int i);
00081     public IntModEvent inter(JavaSpace home, RangeIterator iter);
00082 }