8873ef247f6ae1238c745ab7fb8b070c77effbad
[satune.git] / src / ASTAnalyses / polarityassignment.h
1 /*
2  * File:   polarityassignment.h
3  * Author: hamed
4  *
5  * Created on August 6, 2017, 12:18 PM
6  */
7
8 #ifndef POLARITYASSIGNMENT_H
9 #define POLARITYASSIGNMENT_H
10 #include "classlist.h"
11 #include "mymemory.h"
12 #include "common.h"
13 #include "ops.h"
14 #include "boolean.h"
15
16 void computePolarities(CSolver *This);
17 bool updatePolarity(Boolean *This, Polarity polarity);
18 void updateMustValue(Boolean *This, BooleanValue value);
19 void computePolarity(Boolean *boolean, Polarity polarity);
20 void computePredicatePolarity(BooleanPredicate *This);
21 void computeLogicOpPolarity(BooleanLogic *boolean);
22 Polarity negatePolarity(Polarity This);
23 BooleanValue negateBooleanValue(BooleanValue This);
24 Polarity computeLogicOpPolarityChildren(BooleanLogic *boolean);
25
26 #endif/* POLARITYASSIGNMENT_H */