Java Doc for ComputeSpecification.java in  » Testing » KeY » de » uka » ilkd » key » cspec » 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 » Testing » KeY » de.uka.ilkd.key.cspec 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.uka.ilkd.key.cspec.ComputeSpecification

ComputeSpecification
public class ComputeSpecification (Code)
This class is the central facade for computing the specification of a program. It contains algorithms for and controls the computation of specifications.

Internals

Usually, the method de.uka.ilkd.key.casetool.FunctionalityOnModel.computeSpecification(ReprModelMethod) is triggered by the user interface, and will start the specification construction process and thereby invoke de.uka.ilkd.key.proof.init.ComputeSpecificationPO to construct the specification computation proof obligation. Finally, the whole system relies on the functionality of this class to ComputeSpecification.createSpecificationComputationTerm(JavaBlock,Namespace) construct thespecification computation obligation initially, and ComputeSpecification.computeSpecification(Proof) excerpt thespecification at the end of the proof attempt.
author:
   André Platzer
version:
   0.1, 2003-01-28
See Also:   de.uka.ilkd.key.gui.ComputeSpecificationView
See Also:   de.uka.ilkd.key.casetool.FunctionalityOnModel.computeSpecification(ReprModelMethod)


Field Summary
final public static  intPOSTSTATE_REMEMBER_EQUATIONS
     Use explicit poststate remember equations (x1=x1@post & ...& xn=xn@post).
final public static  intPOSTSTATE_REMEMBER_STATE_CHANGE_ACCUMULATION
     Use state change accumulatorr ^true alias scripted C for remembering the poststate.
final public static  intPRESTATE_REMEMBER_EQUATIONS
     Use explicit prestate remembrance equations.
final public static  intPRESTATE_REMEMBER_IMPLICIT
     Only remember prestate, implicitly.
final public static  intPRESTATE_REMEMBER_UPDATES
     Use updates for prestate remembrance.

Constructor Summary
public  ComputeSpecification()
    

Method Summary
public  TermcomputeSpecification(KeYMediator mediatorContainingProof)
     Extracts the specification of a program from a failed attempt to prove its correctness.
public  TermcomputeSpecification(Proof proof)
     Extracts the specification of a program from a failed attempt to prove its correctness.
public static  TermcreateSpecificationComputationTerm(JavaBlock program, Namespace programVariables)
     Creates the term to analyse for computing the specification of a program.
final public static  intgetPoststateRemember()
    
final public static  intgetPrestateRemember()
    
final public static  voidsetPoststateRemember(int poststateRememberMode)
     Which variant to use for remembering the poststate of the program invocation.
final public static  voidsetPrestateRemember(int prestateRememberMode)
     Which variant to use for remembering the prestate of the program invocation.

Field Detail
POSTSTATE_REMEMBER_EQUATIONS
final public static int POSTSTATE_REMEMBER_EQUATIONS(Code)
Use explicit poststate remember equations (x1=x1@post & ...& xn=xn@post). Requires knowledge of the modifies list.



POSTSTATE_REMEMBER_STATE_CHANGE_ACCUMULATION
final public static int POSTSTATE_REMEMBER_STATE_CHANGE_ACCUMULATION(Code)
Use state change accumulatorr ^true alias scripted C for remembering the poststate. Does not require knowledge of the modifies list. false for explicit poststate remember terms (x1=x1@post & ...& xn=xn@post) which requires knowledge of the modifies list.



PRESTATE_REMEMBER_EQUATIONS
final public static int PRESTATE_REMEMBER_EQUATIONS(Code)
Use explicit prestate remembrance equations. Thus use proof obligations like x=xpre ← <program> (xpost=x).



PRESTATE_REMEMBER_IMPLICIT
final public static int PRESTATE_REMEMBER_IMPLICIT(Code)
Only remember prestate, implicitly. Thus use proof obligations like <program> (xpost=x).



PRESTATE_REMEMBER_UPDATES
final public static int PRESTATE_REMEMBER_UPDATES(Code)
Use updates for prestate remembrance. Thus use proof obligations like {x:=xpre} <program> (xpost=x).




Constructor Detail
ComputeSpecification
public ComputeSpecification()(Code)




Method Detail
computeSpecification
public Term computeSpecification(KeYMediator mediatorContainingProof)(Code)
Extracts the specification of a program from a failed attempt to prove its correctness. Will continue the proof automatically as far as possible.
Parameters:
  mediatorContainingProof - The mediator containingthe specification computation proof as selected proof.Its proof obligation usually stems fromComputeSpecification.createSpecificationComputationTerm(JavaBlock,Namespace).



computeSpecification
public Term computeSpecification(Proof proof)(Code)
Extracts the specification of a program from a failed attempt to prove its correctness.
Parameters:
  proof - The specification computation proof driven as far as possible.Its proof obligation usually stems fromComputeSpecification.createSpecificationComputationTerm(JavaBlock,Namespace).



createSpecificationComputationTerm
public static Term createSpecificationComputationTerm(JavaBlock program, Namespace programVariables)(Code)
Creates the term to analyse for computing the specification of a program. Feeding this term into a proof passed to ComputeSpecification.computeSpecification(KeYMediator) , or ComputeSpecification.computeSpecification(Proof) will result in the specification.
Parameters:
  program - the program of which to compute a specification.
Parameters:
  programVariables - the variables that program possibly modifies. the term required for constructing the specification.



getPoststateRemember
final public static int getPoststateRemember()(Code)



getPrestateRemember
final public static int getPrestateRemember()(Code)



setPoststateRemember
final public static void setPoststateRemember(int poststateRememberMode)(Code)
Which variant to use for remembering the poststate of the program invocation.
See Also:   ComputeSpecification.POSTSTATE_REMEMBER_EQUATIONS
See Also:   ComputeSpecification.POSTSTATE_REMEMBER_STATE_CHANGE_ACCUMULATION



setPrestateRemember
final public static void setPrestateRemember(int prestateRememberMode)(Code)
Which variant to use for remembering the prestate of the program invocation.
See Also:   ComputeSpecification.PRESTATE_REMEMBER_EQUATIONS
See Also:   ComputeSpecification.PRESTATE_REMEMBER_UPDATES
See Also:   ComputeSpecification.PRESTATE_REMEMBER_IMPLICIT



Methods inherited from java.lang.Object
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public void notify() throws IllegalMonitorStateException(Code)(Java Doc)
final public void notifyAll() throws IllegalMonitorStateException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public void wait() throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)
final public void wait(long ms) throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)
final public void wait(long ms, int ns) throws IllegalMonitorStateException, 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.