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


java.lang.Object
   de.uka.ilkd.key.proof.decproc.smtlib.Term
      de.uka.ilkd.key.proof.decproc.smtlib.InterpretedFuncTerm

InterpretedFuncTerm
final public class InterpretedFuncTerm extends Term (Code)
Represents an interpreted function as defined in the SMT-Lib specification, and specialized in the (QF_)AUFLIA sublogic. In (QF_)AUFLIA, only + , - , unary minus, * , 'select' (array) and 'store' (array) are interpreted functions.

InterpretedFuncTerms are immutable; their attribute values cannot be changed after they are created.
author:
   akuwertz
version:
   1.4, 12/04/2005 (Adjustments to changes in superclass; added further comments)




Constructor Summary
public  InterpretedFuncTerm(String fName, Term[] fArgs)
     Creates a new InterpretedFuncTerm, representing an interpreted function as defined in (QF_)AUFLIA.

Which interpreted function is to be represented, is specified solely by the function name. Therefore, only certain String values are accepted as interpreted functions in (QF_)AUFLIA; they are defined as static fields in DecisionProcedureSmtAufliaOp.


Method Summary
public  booleanequals(Object o)
     Compares this InterpretedFuncTerm to the specified Object.

This InterpretedFuncTerm is considered equal to o if o is an instance of InterpretedFuncTerm and has the same function arguments as this InterpretedFuncTerm.

public  inthashCode()
    
public  TermreplaceFormVarIteTerm(FormulaVariable formVar, Formula replacement)
    
public  TermreplaceTermVar(TermVariable termVar, Term replacement)
    
public  StringtoString()
    


Constructor Detail
InterpretedFuncTerm
public InterpretedFuncTerm(String fName, Term[] fArgs)(Code)
Creates a new InterpretedFuncTerm, representing an interpreted function as defined in (QF_)AUFLIA.

Which interpreted function is to be represented, is specified solely by the function name. Therefore, only certain String values are accepted as interpreted functions in (QF_)AUFLIA; they are defined as static fields in DecisionProcedureSmtAufliaOp. Namely, this are PLUS, MINUS, UMINUS, MULT, SELECT and STORE.

In (QF_)AUFLIA, there are two interpreted sorts, INT and ARRAY. For the mentioned interpreted functions the following signatures hold:
UMINUS: INT->INT
MINUS: INT->INT->INT
PLUS: INT->INT->INT
MULT: INT->INT->INT
SELECT: ARRAY->INT->INT
STORE: ARRAY->INT->INT->ARRAY
For convenience, the PLUS function allows also more than two arguments. The MULT function requests of one its arguments to be a natural number constant.
The sort of a Term depends on its class: A NumberConstantTermis of sort Int, a Termvariables of arbitrary sort. For an InterpretedFuncTerm or an UninterpretedFuncTerm the sort is determined by their signature. An IteTerm is of same sort as its argument Terms.

If any of these conditions does not hold for the InterpretedFuncTerm to created, an IllegalArgumentException is thrown.
Parameters:
  fName - the name of the interpreted function to be represented
Parameters:
  fArgs - the array of function arguments;
throws:
  NullPointerException - if fName or fArgs is null or iffArgs contains a null pointer
throws:
  IllegalArgumentException - if fName is no interpreted function symbol inQF_AULIA or if the number of function arguments doesn'tmatch the function arity or if the sort of a function argument doesn't match the expected sort
See Also:   de.uka.ilkd.key.logic.op.DecisionProcedureSmtAufliaOp
See Also:   





Method Detail
equals
public boolean equals(Object o)(Code)
Compares this InterpretedFuncTerm to the specified Object.

This InterpretedFuncTerm is considered equal to o if o is an instance of InterpretedFuncTerm and has the same function arguments as this InterpretedFuncTerm.
If the represented function is commutative, i.e. if this InterpretedFuncTerm represents one of the functions 'PLUS' or 'MULT', the order of function arguments does not matter for equality. For all other interpreted functions in (QF_)AUFLIA, the order of arguments matters for equality.
Parameters:
  o - the Object to compare with true if this InterpretedFuncTerm is the same as the Object o;otherwise false.




hashCode
public int hashCode()(Code)



replaceFormVarIteTerm
public Term replaceFormVarIteTerm(FormulaVariable formVar, Formula replacement)(Code)



replaceTermVar
public Term replaceTermVar(TermVariable termVar, Term replacement)(Code)



toString
public String toString()(Code)



Fields inherited from de.uka.ilkd.key.proof.decproc.smtlib.Term
final protected static Vector marker(Code)(Java Doc)

Methods inherited from de.uka.ilkd.key.proof.decproc.smtlib.Term
public boolean containsFormulaIteTerm(Formula f)(Code)(Java Doc)
public boolean containsTerm(Term t)(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
final public Term[] getFuncArgs()(Code)(Java Doc)
final public String getFunction()(Code)(Java Doc)
final public Vector getUIF()(Code)(Java Doc)
final public Vector getUIPredicatesIteTerm()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final protected static boolean isLegalIdentifier(String identifier)(Code)(Java Doc)
abstract public Term replaceFormVarIteTerm(FormulaVariable formVar, Formula replacement)(Code)(Java Doc)
abstract public Term replaceTermVar(TermVariable termVar, Term replacement)(Code)(Java Doc)
abstract public String toString()(Code)(Java Doc)

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.