コード例 #1
0
        public void Case1(Sink sink, Edge edge, Trapezoid[] tList)
        {
            YNode yNode = new YNode(edge, Sink.Isink(tList[1]), Sink.Isink(tList[2]));
            XNode qNode = new XNode(edge.Q, yNode, Sink.Isink(tList[3]));
            XNode pNode = new XNode(edge.P, Sink.Isink(tList[0]), qNode);

            Replace(sink, pNode);
        }
コード例 #2
0
ファイル: QueryGraph.cs プロジェクト: yuruyigit/TrueSync
        public void Case1(Sink sink, Edge edge, Trapezoid[] tList)
        {
            YNode lChild = new YNode(edge, Sink.Isink(tList[1]), Sink.Isink(tList[2]));
            XNode rChild = new XNode(edge.Q, lChild, Sink.Isink(tList[3]));
            XNode node   = new XNode(edge.P, Sink.Isink(tList[0]), rChild);

            this.Replace(sink, node);
        }
コード例 #3
0
        public void Case3(Sink sink, Edge edge, Trapezoid[] tList)
        {
            YNode yNode = new YNode(edge, Sink.Isink(tList[0]), Sink.Isink(tList[1]));

            Replace(sink, yNode);
        }