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


java.lang.Object
   de.uka.ilkd.key.logic.Sequent

Sequent
public class Sequent (Code)
This class represents a sequent. A sequent consists of an antecedent and succedent. As a sequent is persistent there is no public constructor.

A sequent is created either by using one of the composition methods, that are Sequent.createSequent , Sequent.createAnteSequent and Sequent.createSuccSequent or by inserting formulas directly into Sequent.EMPTY_SEQUENT .


Inner Class :static class NILSequent extends Sequent
Inner Class :static class SequentIterator implements IteratorOfConstrainedFormula

Field Summary
final public static  SequentEMPTY_SEQUENT
    


Method Summary
public  SequentChangeInfoaddFormula(ConstrainedFormula cf, boolean antec, boolean first)
     adds a formula to the antecedent (or succedent) of the sequent.
public  SequentChangeInfoaddFormula(ConstrainedFormula cf, PosInOccurrence p)
     adds a formula to the sequent at the given position.
public  SequentChangeInfoaddFormula(ListOfConstrainedFormula insertions, boolean antec, boolean first)
     adds list of formulas to the antecedent (or succedent) of the sequent.
public  SequentChangeInfoaddFormula(ListOfConstrainedFormula insertions, PosInOccurrence p)
     adds the formulas of list insertions to the sequent starting at position p.
public  Semisequentantecedent()
    
public  SequentChangeInfochangeFormula(ConstrainedFormula newCF, PosInOccurrence p)
    
public  SequentChangeInfochangeFormula(ListOfConstrainedFormula replacements, PosInOccurrence p)
    
public static  SequentcreateAnteSequent(Semisequent ante)
    
public static  SequentcreateSequent(Semisequent ante, Semisequent succ)
    
public static  SequentcreateSuccSequent(Semisequent succ)
    
public  booleanequals(Object o)
    
public  intformulaNumberInSequent(boolean inAntec, ConstrainedFormula cfma)
    
public  ConstrainedFormulagetFormulabyNr(int formulaNumber)
    
public  inthashCode()
    
public  booleanisEmpty()
     determines if the sequent is empty.
public  IteratorOfConstrainedFormulaiterator()
    
public  booleannumberInAntec(int formulaNumber)
    
public  voidprettyprint(de.uka.ilkd.key.pp.LogicPrinter printer)
    
public  voidprettyprint(de.uka.ilkd.key.pp.LogicPrinter printer, SequentPrintFilter filter)
    
public  StringBufferprettyprint(Services services)
    
public  SequentChangeInforemoveFormula(PosInOccurrence p)
    
public  intsize()
    
public  Semisequentsuccedent()
    
public  StringtoString()
    
public  booleanvarIsBound(QuantifiableVariable v)
     returns true iff the given variable is bound in a formula of a ConstrainedFormula in this sequent.

Field Detail
EMPTY_SEQUENT
final public static Sequent EMPTY_SEQUENT(Code)





Method Detail
addFormula
public SequentChangeInfo addFormula(ConstrainedFormula cf, boolean antec, boolean first)(Code)
adds a formula to the antecedent (or succedent) of the sequent. Depending on the value of first the formulas are inserted at the beginning or end of the ante-/succedent. (NOTICE:Sequent determines index using identy (==) not equality.)
Parameters:
  cf - the ConstrainedFormula to be added
Parameters:
  antec - boolean selecting the correct semisequent where toinsert the formulas. If set to true, the antecedent is takenotherwise the succedent.
Parameters:
  first - boolean if true the formula is added at thebeginning of the ante-/succedent, otherwise to the end a SequentChangeInfo which contains the new sequent andinformation which formulas have been added or removed



addFormula
public SequentChangeInfo addFormula(ConstrainedFormula cf, PosInOccurrence p)(Code)
adds a formula to the sequent at the given position. (NOTICE:Sequent determines index using identy (==) not equality.)
Parameters:
  cf - a ConstrainedFormula to be added
Parameters:
  p - a PosInOccurrence describes position in the sequent a SequentChangeInfo which contains the new sequent andinformation which formulas have been added or removed



addFormula
public SequentChangeInfo addFormula(ListOfConstrainedFormula insertions, boolean antec, boolean first)(Code)
adds list of formulas to the antecedent (or succedent) of the sequent. Depending on the value of first the formulas are inserted at the beginning or end of the ante-/succedent. (NOTICE:Sequent determines index using identity (==) not equality.)
Parameters:
  insertions - the ListOfConstrainedFormula to be added
Parameters:
  antec - boolean selecting the correct semisequent where toinsert the formulas. If set to true, the antecedent is takenotherwise the succedent.
Parameters:
  first - boolean if true the formulas are added at thebeginning of the ante-/succedent, otherwise to the end a SequentChangeInfo which contains the new sequent andinformation which formulas have been added or removed



addFormula
public SequentChangeInfo addFormula(ListOfConstrainedFormula insertions, PosInOccurrence p)(Code)
adds the formulas of list insertions to the sequent starting at position p. (NOTICE:Sequent determines index using identy (==) not equality.)
Parameters:
  insertions - a ListOfConstrainedFormula with the formulas to be added
Parameters:
  p - the PosInOccurrence describing the position where toinsert the formulas a SequentChangeInfo which contains the new sequent andinformation which formulas have been added or removed



antecedent
public Semisequent antecedent()(Code)
returns semisequent of the antecedent to work with



changeFormula
public SequentChangeInfo changeFormula(ConstrainedFormula newCF, PosInOccurrence p)(Code)
replaces the formula at the given position with another one (NOTICE:Sequent determines index using identity (==) not equality.)
Parameters:
  newCF - the ConstrainedFormula replacing the old one
Parameters:
  p - a PosInOccurrence describes position in the sequent a SequentChangeInfo which contains the new sequent andinformation which formulas have been added or removed



changeFormula
public SequentChangeInfo changeFormula(ListOfConstrainedFormula replacements, PosInOccurrence p)(Code)
replaces the formula at position p with the head of the given list and adds the remaining list elements to the sequent (NOTICE:Sequent determines index using identity (==) not equality.)
Parameters:
  replacements - the ListOfConstrainedFormula whose headreplaces the formula at position p and adds the rest of the listbehind the changed formula
Parameters:
  p - a PosInOccurrence describing the position of the formulato be replaced a SequentChangeInfo which contains the new sequent andinformation which formulas have been added or removed



createAnteSequent
public static Sequent createAnteSequent(Semisequent ante)(Code)
creates a new Sequent with empty succedent
Parameters:
  ante - the Semisequent that plays the antecedent part the new sequent or the EMPTY_SEQUENT if both antec and succare same as EMPTY_SEMISEQUENT



createSequent
public static Sequent createSequent(Semisequent ante, Semisequent succ)(Code)
creates a new Sequent
Parameters:
  ante - the Semisequent that plays the antecedent part
Parameters:
  succ - the Semisequent that plays the succedent part the new sequent or the EMPTY_SEQUENT if both antec and succare same as EMPTY_SEMISEQUENT



createSuccSequent
public static Sequent createSuccSequent(Semisequent succ)(Code)
creates a new Sequent with empty antecedent
Parameters:
  succ - the Semisequent that plays the succedent part the new sequent or the EMPTY_SEQUENT if both antec and succare same as EMPTY_SEMISEQUENT



equals
public boolean equals(Object o)(Code)



formulaNumberInSequent
public int formulaNumberInSequent(boolean inAntec, ConstrainedFormula cfma)(Code)



getFormulabyNr
public ConstrainedFormula getFormulabyNr(int formulaNumber)(Code)



hashCode
public int hashCode()(Code)



isEmpty
public boolean isEmpty()(Code)
determines if the sequent is empty. true iff the sequent consists of two instances ofSemisequent.EMPTY_SEMISEQUENT



iterator
public IteratorOfConstrainedFormula iterator()(Code)
returns iterator about all ConstrainedFormulae of the sequent iterator about all ConstrainedFormulae of the sequent



numberInAntec
public boolean numberInAntec(int formulaNumber)(Code)



prettyprint
public void prettyprint(de.uka.ilkd.key.pp.LogicPrinter printer)(Code)



prettyprint
public void prettyprint(de.uka.ilkd.key.pp.LogicPrinter printer, SequentPrintFilter filter)(Code)



prettyprint
public StringBuffer prettyprint(Services services)(Code)



removeFormula
public SequentChangeInfo removeFormula(PosInOccurrence p)(Code)
removes the formula at position p (NOTICE:Sequent determines index using identity (==) not equality.)
Parameters:
  p - a PosInOccurrence that describes position in the sequent a SequentChangeInfo which contains the new sequent andinformation which formulas have been added or removed



size
public int size()(Code)



succedent
public Semisequent succedent()(Code)
returns semisequent of the succedent to work with



toString
public String toString()(Code)
String representation of the sequent String representation of the sequent



varIsBound
public boolean varIsBound(QuantifiableVariable v)(Code)
returns true iff the given variable is bound in a formula of a ConstrainedFormula in this sequent.
Parameters:
  v - the bound variable to search for



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.