Java Doc for K0.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.K0

K0
final public class K0 (Code)
A lowlevel constraint on integers.
version:
   $OrigRevision: 1.22 $, $OrigDate: 1999/10/28 10:56:58 $
author:
   Alexandre Frey
author:
   Daniel Bonniot (Abstractable Interfaces, and unlimited backtrack)

Inner Class :abstract public static class Callbacks
Inner Class :abstract public static class IneqIterator
Inner Class :abstract public static class IndexIterator
Inner Class :abstract public static class ImplementsIterator
Inner Class :abstract public static class AbstractsIterator
Inner Class :abstract public static class IndexSelector

Field Summary
final public static  intALLSIMPLIFIED
    
final public static  intBACKTRACK_ONCE
    
final public static  intBACKTRACK_UNLIMITED
    
public static  booleandebugK0
    
 BitVectornegTagged
    
 BitVectorposTagged
    

Constructor Summary
public  K0(int backtrackMode, Callbacks callbacks)
    
public  K0(Callbacks callbacks)
    

Method Summary
public  voidabstractsIter(AbstractsIterator iterator)
    
public  voidbacktrack(boolean ignore)
    
public  voidclearTags()
    
 BitVector[]closeImplements(BitMatrix R, BitMatrix Rt)
    
public  voidcreateInitialContext()
    
public  voiddeleteAllSoft()
    
 voiddiscard(int x)
    
public  StringdomainsToString()
    
public  StringdumpInterfaces()
    
public  StringdumpRigid()
    
public  voidenterConstraint(int x1, int v0, int x2)
    
public  voidenumerate(LowlevelSolutionHandler handler)
    
public  voidenumerate(BitVector observers, LowlevelSolutionHandler handler)
    
public  voideq(int x1, int x2)
    
public  intextend()
    
public  intfirstNonRigid()
     Returns an index that is guaranteed to be greater than any rigid index and less or equal to any non-rigid index.
 InterfacegetInterface(int iid)
    
public  StringgetName()
    
public  booleanhasBeenInitialized()
    
public  booleanhasNoSoft()
    
public  voidimplementsIter(ImplementsIterator iterator)
    
public  voidindexImplements(int x, int iid)
    
public  voidindexIter(IndexIterator iterator)
    
public  voidineqIter(IneqIterator iterator)
    
public  voidinitialAbstracts(int x, int iid)
    
 intinitialContextSize()
    
public  voidinitialImplements(int x, int iid)
    
public  voidinitialLeq(int x, int y)
    
 StringinterfaceToString(int iid)
    
public  booleanisBeingSimplified(int i)
    
public  booleanisLeq(int i1, int i2)
    
public  booleanisMinimal(int x)
    
public  booleanisRigid(int x)
     Returns true if x is the index of a rigid variable.
public  booleanisValidIndex(int x)
    
public  voidleq(int x1, int x2)
     Enter the constraint x1 <= x2.
public  voidmark()
    
public  voidminimal(int x)
    
public  intnInterfaces()
     Returns the number of interfaces.
public  booleannegTagged(int i)
    
public  intnewInterface()
    
public  booleanposTagged(int i)
    
public  voidreduceDomain(int x, boolean unit, BitVector set)
    
public  voidreleaseInitialContext()
    
public  voidrigidify()
    
public  voidsatisfy()
    
public  voidsimplify()
    
public  voidsimplify(IndexSelector selector)
    
public  intsize()
    
public  voidsolveConstructorOverloading(int x, BitVector possibilities)
    
public  voidsolveInterfaceOverloading(int x, BitVector possibilities)
    
public  voidstartSimplify()
    
public  voidstopSimplify()
    
public  voidsubInterface(int iid1, int iid2)
    
public  voidtag(int i, int variance)
    
public  StringtoString()
    
public  booleanwasEntered(int i1, int i2)
     Test if a constraint i1 <: i2 was explicitely entered.
public  voidweakBacktrack()
    
public  voidweakMark()
    
 intweakMarkedSize()
    

Field Detail
ALLSIMPLIFIED
final public static int ALLSIMPLIFIED(Code)
Iterate thru the constraint



BACKTRACK_ONCE
final public static int BACKTRACK_ONCE(Code)



BACKTRACK_UNLIMITED
final public static int BACKTRACK_UNLIMITED(Code)



debugK0
public static boolean debugK0(Code)
Debugging



negTagged
BitVector negTagged(Code)



posTagged
BitVector posTagged(Code)




Constructor Detail
K0
public K0(int backtrackMode, Callbacks callbacks)(Code)



K0
public K0(Callbacks callbacks)(Code)




Method Detail
abstractsIter
public void abstractsIter(AbstractsIterator iterator) throws Unsatisfiable(Code)



backtrack
public void backtrack(boolean ignore)(Code)



clearTags
public void clearTags()(Code)



closeImplements
BitVector[] closeImplements(BitMatrix R, BitMatrix Rt)(Code)
Saturate the "implements" constraint under the following axioms: x: I and I < J => x: J x ~ y and y: I => x: I Returns an array of BitVector rigidImplementors rigidImplementors[iid] is the set of x such that x :* iid



createInitialContext
public void createInitialContext() throws LowlevelUnsatisfiable(Code)
Initial rigidification



deleteAllSoft
public void deleteAllSoft()(Code)



discard
void discard(int x)(Code)



domainsToString
public String domainsToString()(Code)



dumpInterfaces
public String dumpInterfaces()(Code)



dumpRigid
public String dumpRigid()(Code)



enterConstraint
public void enterConstraint(int x1, int v0, int x2) throws Unsatisfiable(Code)



enumerate
public void enumerate(LowlevelSolutionHandler handler) throws Unsatisfiable(Code)
Satisfiability



enumerate
public void enumerate(BitVector observers, LowlevelSolutionHandler handler)(Code)



eq
public void eq(int x1, int x2) throws Unsatisfiable(Code)
Enter the constraint x1 = x2 Assume x1 and x2 are valid indexes



extend
public int extend()(Code)
Add a new variable to the constraint and returns its index



firstNonRigid
public int firstNonRigid()(Code)
Returns an index that is guaranteed to be greater than any rigid index and less or equal to any non-rigid index.



getInterface
Interface getInterface(int iid)(Code)



getName
public String getName()(Code)
Pretty printing



hasBeenInitialized
public boolean hasBeenInitialized()(Code)



hasNoSoft
public boolean hasNoSoft()(Code)



implementsIter
public void implementsIter(ImplementsIterator iterator) throws Unsatisfiable(Code)



indexImplements
public void indexImplements(int x, int iid) throws Unsatisfiable(Code)
Enter the constraint x: iid Assume x is a valid index and iid is a valid interface id



indexIter
public void indexIter(IndexIterator iterator)(Code)



ineqIter
public void ineqIter(IneqIterator iterator) throws Unsatisfiable(Code)



initialAbstracts
public void initialAbstracts(int x, int iid)(Code)
Enter the initial assertion that x :: iid This means that no node strictly lesser than x may implement iid



initialContextSize
int initialContextSize()(Code)



initialImplements
public void initialImplements(int x, int iid)(Code)
Enter the initial assertion that x : iid



initialLeq
public void initialLeq(int x, int y)(Code)
Enter the initial assertion that x <= y



interfaceToString
String interfaceToString(int iid)(Code)



isBeingSimplified
public boolean isBeingSimplified(int i)(Code)



isLeq
public boolean isLeq(int i1, int i2)(Code)
Assume i1 and i2 are rigid



isMinimal
public boolean isMinimal(int x)(Code)



isRigid
public boolean isRigid(int x)(Code)
Returns true if x is the index of a rigid variable. the index is assumed valid



isValidIndex
public boolean isValidIndex(int x)(Code)



leq
public void leq(int x1, int x2) throws Unsatisfiable(Code)
Enter the constraint x1 <= x2. Assume x1 and x2 are valid indexes.



mark
public void mark()(Code)



minimal
public void minimal(int x)(Code)



nInterfaces
public int nInterfaces()(Code)
Returns the number of interfaces. Interfaces are garanteed to be numbered from 0 to nInterfaces()-1



negTagged
public boolean negTagged(int i)(Code)



newInterface
public int newInterface()(Code)
Add a new interface to the constraint and returns its ID



posTagged
public boolean posTagged(int i)(Code)



reduceDomain
public void reduceDomain(int x, boolean unit, BitVector set) throws LowlevelUnsatisfiable(Code)



releaseInitialContext
public void releaseInitialContext()(Code)



rigidify
public void rigidify()(Code)
Rigidify the current constraint You must have called satisfy before



satisfy
public void satisfy() throws Unsatisfiable(Code)



simplify
public void simplify()(Code)



simplify
public void simplify(IndexSelector selector)(Code)



size
public int size()(Code)



solveConstructorOverloading
public void solveConstructorOverloading(int x, BitVector possibilities)(Code)



solveInterfaceOverloading
public void solveInterfaceOverloading(int x, BitVector possibilities)(Code)



startSimplify
public void startSimplify()(Code)
Simplification



stopSimplify
public void stopSimplify()(Code)



subInterface
public void subInterface(int iid1, int iid2)(Code)
Enter the assertion that interface iid1 is a subinterface of iid2 Assume if1 and if2 are >=0 and < nInterfaces()



tag
public void tag(int i, int variance)(Code)



toString
public String toString()(Code)



wasEntered
public boolean wasEntered(int i1, int i2)(Code)
Test if a constraint i1 <: i2 was explicitely entered.



weakBacktrack
public void weakBacktrack()(Code)



weakMark
public void weakMark()(Code)



weakMarkedSize
int weakMarkedSize()(Code)



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.