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


java.lang.Object
   de.uka.ilkd.key.proof.Node

Node
public class Node (Code)


Field Summary
 intreuseCandidate
    
 intserialNr
    

Constructor Summary
public  Node(Proof proof)
     creates an empty node that is root and leaf.
public  Node(Proof proof, Sequent seq)
    
public  Node(Proof proof, Sequent seq, List children, Node parent, Sink branchSink)
     creates a node with the given contents, the given collection of children (all elements must be of class Node) and the given parent node.

Method Summary
public  voidadd(Node child)
     makes the given node a child of this node.
public  voidaddClosureConstraint(Constraint c)
    
public  voidaddNoPosTacletApp(NoPosTacletApp s)
    
public  voidaddRestrictedMetavariable(Metavariable mv)
    
public  Nodechild(int i)
    
public  intchildrenCount()
    
public  IteratorOfNodechildrenIterator()
     returns an iterator for the direct children of this node.
public static  voidclearReuseCandidates()
    
public static  voidclearReuseCandidates(Proof p)
    
public  NodecommonAncestor(Node p_node)
    
public  intcountBranches()
    
public  intcountNodes()
    
public  voidcutChildrenSinks()
     Remove a possibly existing merger, restore the old state by calling "localSink.reset()".
public  booleanfind(Node node)
    
public  RuleAppgetAppliedRuleApp()
    
public  SinkgetBranchSink()
    
public  intgetChildNr(Node p_node)
    
public  ConstraintgetClosureConstraint()
    
public  SetOfProgramVariablegetGlobalProgVars()
    
public  SetOfNoPosTacletAppgetNoPosTacletApps()
    
public  NodeInfogetNodeInfo()
     the node information object encapsulates non-logical information of the node, e.g.
public  ListOfRenamingTablegetRenamingTable()
    
public  SetOfMetavariablegetRestrictedMetavariables()
    
public  ReusePointgetReuseSource()
    
public  BufferSinkgetRootSink()
    
public  intgetUniqueTacletNr()
    
public  BufferSinkinsertLocalRootSink()
    
public  booleanisClosed()
    
public  booleanisReuseCandidate()
    
public  booleanleaf()
     returns true, iff this node is a leaf, i.e.
public  IteratorOfNodeleavesIterator()
     returns an iterator for the leaves of the subtree below this node.
public  voidmarkPersistentCandidate()
    
public  voidmarkReuseCandidate()
    
public  Stringname()
    
public  Nodeparent()
     returns the parent node of this node.
public  Proofproof()
    
public  voidremove()
     removes child/parent relationship between this node and its parent; if this node is root nothing happens.
public  booleanremove(Node child)
     removes child/parent relationship between the given node and this node; if the given node is not child of this node, nothing happens and then and only then false is returned.
public  voidremoveLocalRootSink()
    
public  IteratorOfSinkreserveSinks(int p_count)
     Reserve p_count sinks meant for children and return them.
public  voidresetBranchSink()
    
public static  IteratorreuseCandidatesIterator()
    
public static  intreuseCandidatesNumber()
    
public  booleanroot()
     returns true, iff this node is root, i.e.
public  booleansanityCheckDoubleLinks()
     checks if the parent has this node as child and continues recursively with the children of this node.
public  Sequentsequent()
    
public  intserialNr()
    
public  voidsetAppliedRuleApp(RuleApp ruleApp)
    
public  voidsetClosed()
    
public  voidsetGlobalProgVars(SetOfProgramVariable progVars)
    
public  voidsetRenamings(ListOfRenamingTable list)
    
public  voidsetReuseSource(ReusePoint rp)
    
public  voidsetSequent(Sequent seq)
    
public  intsiblingNr()
    
public  voidsubtreeCompletelyClosed()
    
public  StringtoString()
    
public  voidunmarkReuseCandidate()
    

Field Detail
reuseCandidate
int reuseCandidate(Code)



serialNr
int serialNr(Code)




Constructor Detail
Node
public Node(Proof proof)(Code)
creates an empty node that is root and leaf.



Node
public Node(Proof proof, Sequent seq)(Code)
creates a node with the given contents



Node
public Node(Proof proof, Sequent seq, List children, Node parent, Sink branchSink)(Code)
creates a node with the given contents, the given collection of children (all elements must be of class Node) and the given parent node.




Method Detail
add
public void add(Node child)(Code)
makes the given node a child of this node.



addClosureConstraint
public void addClosureConstraint(Constraint c)(Code)



addNoPosTacletApp
public void addNoPosTacletApp(NoPosTacletApp s)(Code)
adds a new NoPosTacletApp to the set of available NoPosTacletApps at this node



addRestrictedMetavariable
public void addRestrictedMetavariable(Metavariable mv)(Code)



child
public Node child(int i)(Code)
returns i-th child



childrenCount
public int childrenCount()(Code)
returns number of children



childrenIterator
public IteratorOfNode childrenIterator()(Code)
returns an iterator for the direct children of this node.



clearReuseCandidates
public static void clearReuseCandidates()(Code)



clearReuseCandidates
public static void clearReuseCandidates(Proof p)(Code)



commonAncestor
public Node commonAncestor(Node p_node)(Code)
Search for the node being the root of the smallest subtree containing this and p_node; we assume that the two nodes are part of the same proof tree



countBranches
public int countBranches()(Code)
retrieves number of branches



countNodes
public int countNodes()(Code)
retrieves number of nodes



cutChildrenSinks
public void cutChildrenSinks()(Code)
Remove a possibly existing merger, restore the old state by calling "localSink.reset()". Currently this doesn't really remove the connection between the children sinks and the branch sink.



find
public boolean find(Node node)(Code)
searches for a given node in the subtree starting with this node



getAppliedRuleApp
public RuleApp getAppliedRuleApp()(Code)



getBranchSink
public Sink getBranchSink()(Code)



getChildNr
public int getChildNr(Node p_node)(Code)
the number of the node p_node, if it is achild of this node (starting with 0),-1 otherwise



getClosureConstraint
public Constraint getClosureConstraint()(Code)



getGlobalProgVars
public SetOfProgramVariable getGlobalProgVars()(Code)



getNoPosTacletApps
public SetOfNoPosTacletApp getNoPosTacletApps()(Code)
Returns the set of NoPosTacletApps at this node



getNodeInfo
public NodeInfo getNodeInfo()(Code)
the node information object encapsulates non-logical information of the node, e.g.



getRenamingTable
public ListOfRenamingTable getRenamingTable()(Code)



getRestrictedMetavariables
public SetOfMetavariable getRestrictedMetavariables()(Code)



getReuseSource
public ReusePoint getReuseSource()(Code)



getRootSink
public BufferSink getRootSink()(Code)



getUniqueTacletNr
public int getUniqueTacletNr()(Code)



insertLocalRootSink
public BufferSink insertLocalRootSink()(Code)



isClosed
public boolean isClosed()(Code)



isReuseCandidate
public boolean isReuseCandidate()(Code)



leaf
public boolean leaf()(Code)
returns true, iff this node is a leaf, i.e. has no children.



leavesIterator
public IteratorOfNode leavesIterator()(Code)
returns an iterator for the leaves of the subtree below this node. The computation is called at every call!



markPersistentCandidate
public void markPersistentCandidate()(Code)



markReuseCandidate
public void markReuseCandidate()(Code)



name
public String name()(Code)



parent
public Node parent()(Code)
returns the parent node of this node.



proof
public Proof proof()(Code)
returns the proof the Node belongs to



remove
public void remove()(Code)
removes child/parent relationship between this node and its parent; if this node is root nothing happens.



remove
public boolean remove(Node child)(Code)
removes child/parent relationship between the given node and this node; if the given node is not child of this node, nothing happens and then and only then false is returned. false iff the given node was not child of this node andnothing has been done.



removeLocalRootSink
public void removeLocalRootSink()(Code)



reserveSinks
public IteratorOfSink reserveSinks(int p_count)(Code)
Reserve p_count sinks meant for children and return them. If ultimately more than one sink is needed, the first call to this method MUST have p_count>1.



resetBranchSink
public void resetBranchSink()(Code)



reuseCandidatesIterator
public static Iterator reuseCandidatesIterator()(Code)



reuseCandidatesNumber
public static int reuseCandidatesNumber()(Code)



root
public boolean root()(Code)
returns true, iff this node is root, i.e. has no parents.



sanityCheckDoubleLinks
public boolean sanityCheckDoubleLinks()(Code)
checks if the parent has this node as child and continues recursively with the children of this node. true iff the parent of this node has this node as child andthis condition holds also for the own children.



sequent
public Sequent sequent()(Code)
returns the sequent of this node



serialNr
public int serialNr()(Code)



setAppliedRuleApp
public void setAppliedRuleApp(RuleApp ruleApp)(Code)



setClosed
public void setClosed()(Code)



setGlobalProgVars
public void setGlobalProgVars(SetOfProgramVariable progVars)(Code)



setRenamings
public void setRenamings(ListOfRenamingTable list)(Code)



setReuseSource
public void setReuseSource(ReusePoint rp)(Code)



setSequent
public void setSequent(Sequent seq)(Code)
sets the sequent at this node



siblingNr
public int siblingNr()(Code)
returns the sibling number of this node or -1 if it is the root node the sibling number of this node or -1 ifit is the root node



subtreeCompletelyClosed
public void subtreeCompletelyClosed()(Code)
This is called by "BranchRestricter" to indicate that the subtree below this Node is closed



toString
public String toString()(Code)



unmarkReuseCandidate
public void unmarkReuseCandidate()(Code)



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.