User Tools

Site Tools


magik-demo:developer:class:core:tcstatement

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
magik-demo:developer:class:core:tcstatement [2013/07/19 11:21]
alex [Atom]
magik-demo:developer:class:core:tcstatement [2017/07/06 15:24] (current)
Line 6: Line 6:
 Table Completeness (TC) statement describes a table completeness statement as it is defined by Razniewski&​Nutt(VLDB2011). ​ Table Completeness (TC) statement describes a table completeness statement as it is defined by Razniewski&​Nutt(VLDB2011). ​
  
-Namely, Compl(R(x);​G) is a table completeness statement for the relation R,  and under the condition G. \\ +{{ :​magik-demo:​developer:​schema2.png?​nolink&​600 |}}  
-Condition G is a conjunction of atoms and x is a vector of arity R. \\+ 
 +Namely, Compl(R(x);​G) is a table completeness statement for the relation R,  and under the condition G.  
 + 
 +Condition G is a conjunction of atoms and x is a vector of arity R.  
 A TC statement is satisfied with a partial db D=(Di,Da) if R(x)(Di) {{:​magik-demo:​developer:​class:​core:​subset_of_or_equal_to_icon_256x256.png?​nolink&​11|}} (R(x),​G)(Da). A TC statement is satisfied with a partial db D=(Di,Da) if R(x)(Di) {{:​magik-demo:​developer:​class:​core:​subset_of_or_equal_to_icon_256x256.png?​nolink&​11|}} (R(x),​G)(Da).
  
Line 20: Line 24:
 </​code>​ </​code>​
  
-===== Class Constructor ​=====+===== Class Constructors ​=====
 ==== TCStatement ==== ==== TCStatement ====
 <code java> <code java>
Line 64: Line 68:
   * name   * name
  
- 
- 
----- 
  
 ===== Class Methods ===== ===== Class Methods =====
Line 89: Line 90:
  
 ---- ----
 +
 +==== clone ====
 +<code java>
 +@Override
 +public Object clone () 
 +</​code>​
 +
 +**Returns:​**
 +  * cloned object (TCStatement type)
 +
 +
 +----
 +
 +==== equals ====
 +<code java>
 +@Override
 +public boolean equals (Object o) 
 +</​code>​
 +
 +Implementation for checking the equality for TCStatement
 +
 +**Returns:​**
 +  * //true// if equal, //false// otherwise
 +
 +
 +----
 +
 +==== toString ====
 +<code java>
 +@Override
 +public String toString () 
 +</​code>​
 +
 +Implementation for converting in String format TCStatements. ​
 +
 +Format: **''​Compl(table[term1,​term2,​term3])''​**
 +
 +
 +**Returns:​**
 +  * String version of the TC - statement
 +
 +
 +----
 +==== getter and setter methods ====
 +<code java>
 +public Relation getRelation()
 +public void setRelation(Relation r) 
 +
 +public java.util.ArrayList<​Term>​ getHeadSimpleTerms() ​
 +public void setHeadSimpleTerms(java.util.ArrayList<​Term>​ headSimpleTerms) ​
 +
 +public java.util.ArrayList<​Atom>​ getConditionG() ​
 +public void setConditionG(java.util.ArrayList<​Atom>​ conditionG)
 +
 +public long getId() ​
 +public void setId(long id) 
 +
 +public String getDescription()
 +public void setDescription(java.lang.String description) ​
 +
 +public String getName() ​
 +public void setName(java.lang.String name) 
 +</​code>​
 +
 +[[magik-demo:​developer:​class:​core:​tcstatement|Back to Top]] | [[magik-demo:​start|Back to Home Page]]
magik-demo/developer/class/core/tcstatement.1374225698.txt.gz · Last modified: 2017/07/06 15:24 (external edit)