func.cmx: dbconn.cmx intersect.cmx utility.cmx func.cmi
attribute.cmo: dbconn.cmi intersect.cmi utility.cmi attribute.cmi
attribute.cmx: dbconn.cmx intersect.cmx utility.cmx attribute.cmi
+pattern.cmo: dbconn.cmi utility.cmi pattern.cmi
+pattern.cmx: dbconn.cmx utility.cmx pattern.cmi
mqint.cmo: attribute.cmi context.cmo dbconn.cmi diff.cmi func.cmi \
intersect.cmi meet.cmi relation.cmi sub.cmi union.cmi mqint.cmi
mqint.cmx: attribute.cmx context.cmx dbconn.cmx diff.cmx func.cmx \
REQUIRES = helm-urimanager postgres unix natile-galax helm-mathql
PREDICATES =
-INTERFACE_FILES = dbconn.mli utility.mli union.mli relation.mli diff.mli meet.mli sub.mli intersect.mli func.mli attribute.mli mqint.mli
+INTERFACE_FILES = dbconn.mli utility.mli union.mli relation.mli diff.mli meet.mli sub.mli intersect.mli func.mli attribute.mli pattern.mli mqint.mli
-IMPLEMENTATION_FILES = dbconn.ml utility.ml union.ml relation.ml diff.ml meet.ml sub.ml intersect.ml context.ml func.ml attribute.ml mqint.ml
+IMPLEMENTATION_FILES = dbconn.ml utility.ml union.ml relation.ml diff.ml meet.ml sub.ml intersect.ml context.ml func.ml attribute.ml pattern.ml mqint.ml
# $(INTERFACE_FILES:%.mli=%.ml)
open Relation;;
open Func;;
open Attribute;;
-
+open Pattern;;
exception BooleExpTrue
MathQL.SVar svar -> List.assoc svar c.svars
| MathQL.RVar rvar -> [List.assoc rvar c.rvars]
| MathQL.Ref vexp -> List.map (fun s -> (s,[])) (exec_val_exp c vexp)
+ | MathQL.Pattern vexp -> pattern_ex (exec_val_exp c vexp)
| MathQL.Intersect (sexp1, sexp2) ->
let before = Sys.time() in
let rs1 = exec_set_exp c sexp1 in