Java Doc for Domain.java in  » Scripting » Nice » mlsub » typing » lowlevel » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Scripting » Nice » mlsub.typing.lowlevel 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   mlsub.typing.lowlevel.BitVector
      mlsub.typing.lowlevel.Domain

Domain
final class Domain extends BitVector (Code)
A "Domain" is a BitVector that holds all the possible values of a variable. A value can be any rigid variable or a special constant called "unit" which implements all the interfaces of the constraint but is comparable with no rigid variable. This is to handle satisfiability in the absence of any satisfiability witness For example, the constraint x <= x IS satisfiable even if there is no rigid variable. In this case, the domain of x is {unit} When a domain becomes empty, i.e., when it does not contain any rigid variable nor unit, it means that the contraint is unsatisfiable.
version:
   $Revision: 1.7 $, $Date: 2005/03/30 23:08:16 $
author:
   Alexandre Frey


Field Summary
final static  intDOWN
    
final static  intUP
    
 intcardDown
    
 intcardUp
    

Constructor Summary
public  Domain(int width)
    
public  Domain(Domain old)
     Creates a copy of a Domain.

Method Summary
 intcardinal()
    
public  intchooseValue()
    
public  intchooseValue(boolean unit, BitVector set)
    
public  booleancontainsUnit()
    
public  booleancontainsValue(int value)
    
public  voidexclude(BitVector set)
    
public  voidexclude(int value)
    
public  voidexcludeUnit()
    
 intgetFirstBit()
    
public  intgetNextBit(int i)
    
 voidinitGfpCardinals()
    
public  voidinstantiate(int value)
    
public  booleanintersect(BitVector set)
    
public  booleanisEmpty()
    
public  booleanneedPropagation(int direction)
    
 voidrawExcludeUnit()
    
public  voidreduce(boolean unit, BitVector set)
    
public  StringtoString()
    

Field Detail
DOWN
final static int DOWN(Code)



UP
final static int UP(Code)



cardDown
int cardDown(Code)



cardUp
int cardUp(Code)




Constructor Detail
Domain
public Domain(int width)(Code)



Domain
public Domain(Domain old)(Code)
Creates a copy of a Domain.




Method Detail
cardinal
int cardinal()(Code)



chooseValue
public int chooseValue() throws LowlevelUnsatisfiable(Code)
choose a value in this domain Returns -1 if the only possible value is unit
exception:
  LowlevelUnsatisfiable - if this.isEmpty()



chooseValue
public int chooseValue(boolean unit, BitVector set) throws LowlevelUnsatisfiable(Code)
Choose a value within (unit, set)
exception:
  LowlevelUnsatisfiable - is this containsno element in (unit, set)



containsUnit
public boolean containsUnit()(Code)



containsValue
public boolean containsValue(int value)(Code)
value >= -1 (-1 represents unit)



exclude
public void exclude(BitVector set) throws LowlevelUnsatisfiable(Code)
Exclude all the values in set



exclude
public void exclude(int value) throws LowlevelUnsatisfiable(Code)
Exclude value of this domain assume value >= -1 (-1 represents unit)



excludeUnit
public void excludeUnit() throws LowlevelUnsatisfiable(Code)



getFirstBit
int getFirstBit()(Code)
Iteration thru the domain elements



getNextBit
public int getNextBit(int i)(Code)



initGfpCardinals
void initGfpCardinals()(Code)



instantiate
public void instantiate(int value) throws LowlevelUnsatisfiable(Code)
Restrict this domain to be exactly {value} value is required to be >= -1 (-1 represents unit)
exception:
  LowlevelUnsatisfiable - if value is not in the domain



intersect
public boolean intersect(BitVector set)(Code)
Returns true if there is a common value in this and set i.e., if chooseValue(false, set) will not throw LowlevelUnsatisfiable



isEmpty
public boolean isEmpty()(Code)



needPropagation
public boolean needPropagation(int direction)(Code)



rawExcludeUnit
void rawExcludeUnit()(Code)



reduce
public void reduce(boolean unit, BitVector set) throws LowlevelUnsatisfiable(Code)
Constrain this domain to be included in (set, unit)



toString
public String toString()(Code)



Fields inherited from mlsub.typing.lowlevel.BitVector
final public static int UNDEFINED_INDEX(Code)(Java Doc)

Methods inherited from mlsub.typing.lowlevel.BitVector
final public void addProduct(BitMatrix M, BitVector v)(Code)(Java Doc)
final public void and(BitVector set)(Code)(Java Doc)
final public void andNot(BitVector set)(Code)(Java Doc)
final public void andNot(int from, BitVector set)(Code)(Java Doc)
final public void andNotAnd(BitVector set1, BitVector set2)(Code)(Java Doc)
final public void andNotAndOr(BitVector S1, BitVector S2, BitVector S3)(Code)(Java Doc)
final public void andNotOr(int from, BitVector set1, BitVector set2)(Code)(Java Doc)
final public void andNotOr(BitVector set1, BitVector set2)(Code)(Java Doc)
final public void bitCopy(int src, int dest)(Code)(Java Doc)
final public int bitCount()(Code)(Java Doc)
final public int bitCount(int n)(Code)(Java Doc)
final public void bitMerge(int src, int dest)(Code)(Java Doc)
final public void clear(int bit)(Code)(Java Doc)
final public void clearAll()(Code)(Java Doc)
final public boolean equals(Object obj)(Code)(Java Doc)
final public void fill(int n)(Code)(Java Doc)
final public void fillNot(int n)(Code)(Java Doc)
final public boolean get(int bit)(Code)(Java Doc)
final public int getLowestClearedBit()(Code)(Java Doc)
final public int getLowestSetBit()(Code)(Java Doc)
final public int getLowestSetBit(int pos)(Code)(Java Doc)
final public int getLowestSetBitAnd(BitVector set)(Code)(Java Doc)
final public int getLowestSetBitAndNotIn(BitVector set, BitVector exclude)(Code)(Java Doc)
final public int getLowestSetBitNotIn(BitVector set)(Code)(Java Doc)
public int getNextBit(int i)(Code)(Java Doc)
final public int hashCode()(Code)(Java Doc)
final public boolean includedIn(BitVector set)(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
final public void or(BitVector set)(Code)(Java Doc)
final public void orAnd(BitVector set1, BitVector set2)(Code)(Java Doc)
final public void orNotIn(BitVector set1, BitVector set2)(Code)(Java Doc)
public void set(int bit)(Code)(Java Doc)
final public int size()(Code)(Java Doc)
final public void slowaddProduct(BitMatrix M, BitVector v)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public void truncate(int newSize)(Code)(Java Doc)
final public void xor(BitVector set)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.