choco.kernel.solver.constraints.global.automata.common
Class StoredIndexedBipartiteSetWithOffset

java.lang.Object
  extended by choco.kernel.memory.structure.StoredIndexedBipartiteSet
      extended by choco.kernel.solver.constraints.global.automata.common.StoredIndexedBipartiteSetWithOffset
All Implemented Interfaces:
IStateIntVector

public class StoredIndexedBipartiteSetWithOffset
extends StoredIndexedBipartiteSet

Created by IntelliJ IDEA. User: julien Mail: julien.menana{at}emn.fr Date: Nov 5, 2009 Time: 12:40:42 PM


Field Summary
 
Fields inherited from class choco.kernel.memory.structure.StoredIndexedBipartiteSet
_iterator, last, list, position
 
Fields inherited from interface choco.kernel.memory.IStateIntVector
LOGGER, MIN_CAPACITY
 
Constructor Summary
StoredIndexedBipartiteSetWithOffset(IEnvironment environment, ArrayList<IndexedObject> values)
           
StoredIndexedBipartiteSetWithOffset(IEnvironment environment, IndexedObject[] values)
           
StoredIndexedBipartiteSetWithOffset(IEnvironment environment, int nbValues)
           
StoredIndexedBipartiteSetWithOffset(IEnvironment environment, int[] values)
           
 
Method Summary
 void buildList(IEnvironment environment, int[] values)
           
 boolean contain(int object)
           
 int getOffset()
           
 void remove(int object)
          Removes an int.
 
Methods inherited from class choco.kernel.memory.structure.StoredIndexedBipartiteSet
_getStructure, add, clear, contain, findIndexOfInt, get, getIterator, getObject, getObjectIterator, increaseSize, isEmpty, pretty, quickGet, quickSet, remove, removeLast, set, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoredIndexedBipartiteSetWithOffset

public StoredIndexedBipartiteSetWithOffset(IEnvironment environment,
                                           int[] values)

StoredIndexedBipartiteSetWithOffset

public StoredIndexedBipartiteSetWithOffset(IEnvironment environment,
                                           IndexedObject[] values)

StoredIndexedBipartiteSetWithOffset

public StoredIndexedBipartiteSetWithOffset(IEnvironment environment,
                                           ArrayList<IndexedObject> values)

StoredIndexedBipartiteSetWithOffset

public StoredIndexedBipartiteSetWithOffset(IEnvironment environment,
                                           int nbValues)
Method Detail

buildList

public void buildList(IEnvironment environment,
                      int[] values)
Overrides:
buildList in class StoredIndexedBipartiteSet

contain

public boolean contain(int object)
Specified by:
contain in interface IStateIntVector
Overrides:
contain in class StoredIndexedBipartiteSet

remove

public void remove(int object)
Description copied from interface: IStateIntVector
Removes an int.

Specified by:
remove in interface IStateIntVector
Overrides:
remove in class StoredIndexedBipartiteSet
Parameters:
object - The search to remove.

getOffset

public final int getOffset()


Copyright © 2012. All Rights Reserved.