# Path: controllability/morris_n4_dc.py
# class MorrisN4Dc(object):
#     def __init__(self):
#     def generate_graph_from_tpnu(self, network):
#         def add_controllable(fro, to, lb, ub, edge_id):
#         def add_uncontrollable(fro, new_node, to, lb, ub, edge_id):
#     def allmax(self, num_nodes, edge_list):
#     def reduce_edge(self, edge1, edge2):
#     def reduce_lower_case(self, num_nodes, edge_list, potentials, lc_edge, epsilon=10E-5):
#     def extract_conflict(self, edge_list, include_combined=True):
#         def combine_expressions(expressions):
#         def get_edge_expression(edge):
#     def expressions_pretty_print(self, expressions):
#     def check(self, network):
#         K = 0
#             PLUS = ' + '
#             MINUS = ' - '


from controllability.morris_n4_dc import EdgeSupport
__author__ = 'yupeng'


class Conflict(object):

    def __init__(self):
        self.assignments = set()
        self.negative_cycles = set()

    def add_assignment(self,assignment):

# Path: controllability/morris_n4_dc.py
# class MorrisN4Dc(object):
#     def __init__(self):
#     def generate_graph_from_tpnu(self, network):
#         def add_controllable(fro, to, lb, ub, edge_id):
#         def add_uncontrollable(fro, new_node, to, lb, ub, edge_id):
#     def allmax(self, num_nodes, edge_list):
#     def reduce_edge(self, edge1, edge2):
#     def reduce_lower_case(self, num_nodes, edge_list, potentials, lc_edge, epsilon=10E-5):
#     def extract_conflict(self, edge_list, include_combined=True):
#         def combine_expressions(expressions):
#         def get_edge_expression(edge):
#     def expressions_pretty_print(self, expressions):
#     def check(self, network):
#         K = 0
#             PLUS = ' + '
#             MINUS = ' - '


# Path: search/conflict.py
from controllability.morris_n4_dc import EdgeSupport

__author__ = 'yupeng'


class Conflict(object):

    def __init__(self):
        self.assignments = set()
        self.negative_cycles = set()

    def add_assignment(self,assignment):

        self.assignments.add(assignment)