choco.cp.common.util.preprocessor.detector
Class AbstractGraphBasedDetector.CliqueIterator

java.lang.Object
  extended by choco.cp.common.util.preprocessor.detector.AbstractGraphBasedDetector.CliqueIterator
All Implemented Interfaces:
Iterator<IntegerVariable[]>
Enclosing class:
AbstractGraphBasedDetector

public class AbstractGraphBasedDetector.CliqueIterator
extends Object
implements Iterator<IntegerVariable[]>


Field Summary
protected  int[][] clique
           
protected  int idx
           
 
Constructor Summary
AbstractGraphBasedDetector.CliqueIterator()
           
 
Method Summary
 boolean hasNext()
           
 void init()
           
 IntegerVariable[] next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

idx

protected int idx

clique

protected int[][] clique
Constructor Detail

AbstractGraphBasedDetector.CliqueIterator

public AbstractGraphBasedDetector.CliqueIterator()
Method Detail

init

public void init()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<IntegerVariable[]>

next

public IntegerVariable[] next()
Specified by:
next in interface Iterator<IntegerVariable[]>

remove

public void remove()
Specified by:
remove in interface Iterator<IntegerVariable[]>


Copyright © 2012. All Rights Reserved.