Esempio n. 1
0
        public static List <Edge> GetSTDNFEdgeList(Function function)
        {
            List <Edge> result       = ExtraData.CopyEdgeList(function.MaxEdgesList);
            List <Edge> originalList = ExtraData.CopyEdgeList(result);

            foreach (Edge edge in originalList)
            {
                if (EdgeIsRegular(edge, function))
                {
                    result = ExtraData.RemoveEdgeFromList(result, edge);
                }
            }
            return(result);
        }
Esempio n. 2
0
        public static List <Edge> GetQDNFEdgeList(Function function)
        {
            List <Dot>  coveredDots  = GetCoveredByNukeDots(function);
            List <Edge> result       = ExtraData.CopyEdgeList(function.MaxEdgesList);
            List <Edge> originalList = ExtraData.CopyEdgeList(result);

            foreach (Edge edge in originalList)
            {
                if (EdgeIsCoveredByNuke(coveredDots, edge))
                {
                    result = ExtraData.RemoveEdgeFromList(result, edge);
                }
            }
            return(result);
        }