summaryrefslogtreecommitdiff
path: root/src/theory/strings/regexp_operation.h
diff options
context:
space:
mode:
authorTianyi Liang <tianyi-liang@uiowa.edu>2014-02-21 15:19:05 -0600
committerTianyi Liang <tianyi-liang@uiowa.edu>2014-02-21 15:20:11 -0600
commit9b1c6e2f22f3699f582a52877bafb1a172d8bc3f (patch)
tree59501559b9d500bd916b9b347ab1059ab0604408 /src/theory/strings/regexp_operation.h
parent2098ecf556a490f7aec958b120fac1a8463f8fba (diff)
reorganize substr, fix some potential bugs, adds cache for preprocessing
Diffstat (limited to 'src/theory/strings/regexp_operation.h')
-rw-r--r--src/theory/strings/regexp_operation.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/theory/strings/regexp_operation.h b/src/theory/strings/regexp_operation.h
index 9ed4be0c3..d7dde018a 100644
--- a/src/theory/strings/regexp_operation.h
+++ b/src/theory/strings/regexp_operation.h
@@ -37,20 +37,20 @@ private:
Node d_sigma;
Node d_sigma_star;
+ std::map< std::pair< Node, Node >, Node > d_simpl_cache;
std::map< Node, Node > d_compl_cache;
std::map< Node, int > d_delta_cache;
std::map< PairDvStr, Node > d_dv_cache;
std::map< Node, bool > d_cstre_cache;
//bool checkStarPlus( Node t );
- //void simplifyRegExp( Node s, Node r, std::vector< Node > &ret, std::vector< Node > &nn );
- //Node simplify( Node t, std::vector< Node > &new_nodes );
+ void simplifyRegExp( Node s, Node r, std::vector< Node > &new_nodes );
std::string niceChar( Node r );
int gcd ( int a, int b );
public:
RegExpOpr();
bool checkConstRegExp( Node r );
- //void simplify(std::vector< Node > &vec_node);
+ void simplify(Node t, std::vector< Node > &new_nodes);
Node mkAllExceptOne( char c );
Node complement( Node r );
int delta( Node r );
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback