forked from yuemingl/SymJava
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTable.java
More file actions
52 lines (41 loc) · 1.01 KB
/
Copy pathTable.java
File metadata and controls
52 lines (41 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package symjava.symbolic;
import symjava.symbolic.arity.NaryOp;
/**
* An expressions table is similar to the table of a relational database (RDBMS).
* The expressions table itself is nothing but an array of expressions.
*
* It will return an array of CloudSD when evaluating the expressions table.
* Each element of the returned CloudSD corresponds to a column of a RDBMS table.
*
* The main purpose of an expression table is to 'bind' the values of expressions
* together into a table. The length of values must be the same for each expression
* in the expressions table.
*
*/
public class Table extends NaryOp {
public Table(Expr... args) {
super(args);
}
public Expr get(int i) {
return this.args[i];
}
@Override
public Expr simplify() {
return this;
}
@Override
public boolean symEquals(Expr other) {
return false;
}
@Override
public Expr diff(Expr x) {
return null;
}
@Override
public TypeInfo getTypeInfo() {
return null;
}
@Override
public void updateLabel() {
}
}