Пример #1
0
        //Initialize all global parameter
        public frmProcessQuery()
        {
            InitializeComponent();
            System.Windows.Forms.ToolTip toolTip1 = new System.Windows.Forms.ToolTip();
            //toolTip1.SetToolTip(this.startBtn, "Run Query");
            //toolTip1.SetToolTip(this.clearBtn, "Clear Editor");

            //Initialized All
            rp        = new gProAnalyzer.GraphVariables.clsRepository();
            loopNode  = new gProAnalyzer.Functionalities.LoopIdentification();
            loadGraph = new gProAnalyzer.Preprocessing.clsLoadGraph();
            indexing  = new gProAnalyzer.Functionalities.IndexingPM();
        }
Пример #2
0
        public void Initialize_All()
        {
            //clsLoop = new GraphVariables.clsLoop();
            //clsSESE = new GraphVariables.clsSESE();
            SplitType1       = new gProAnalyzer.Functionalities.NodeSplittingType1();
            SplitType2       = new gProAnalyzer.Functionalities.NodeSplittingType2();
            SplitType3       = new gProAnalyzer.Functionalities.NodeSplittingType3();
            findLoop         = new gProAnalyzer.Functionalities.LoopIdentification();
            fndDomRel        = new gProAnalyzer.Functionalities.DominanceIdentification();
            sese             = new gProAnalyzer.Functionalities.SESEIdentification();
            makInst          = new gProAnalyzer.Ultilities.makeInstanceFlow();
            makNestingForest = new gProAnalyzer.Ultilities.makeNestingForest();
            extendG          = new gProAnalyzer.Ultilities.extendGraph();

            indexing = new Functionalities.IndexingPM();
        }
Пример #3
0
        private void indexingProcessesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            gProAnalyzer.GraphVariables.clsGraph            graph; // m_Network represent the class "clsAnalysisNetwork"
            gProAnalyzer.Preprocessing.clsLoadGraph         loadGraph;
            gProAnalyzer.GraphVariables.clsLoop             clsLoop;
            gProAnalyzer.GraphVariables.clsSESE             clsSESE;
            gProAnalyzer.GraphVariables.clsHWLS             clsHWLS;
            gProAnalyzer.GraphVariables.clsHWLS             clsHWLS_Untangle;
            gProAnalyzer.Functionalities.LoopIdentification loopNode;
            gProAnalyzer.Functionalities.IndexingPM         indexing;

            //Initialized All
            graph            = new gProAnalyzer.GraphVariables.clsGraph();
            clsLoop          = new GraphVariables.clsLoop();
            clsSESE          = new GraphVariables.clsSESE();
            loopNode         = new gProAnalyzer.Functionalities.LoopIdentification();
            loadGraph        = new gProAnalyzer.Preprocessing.clsLoadGraph();
            clsHWLS          = new gProAnalyzer.GraphVariables.clsHWLS();
            clsHWLS_Untangle = new gProAnalyzer.GraphVariables.clsHWLS();
            indexing         = new gProAnalyzer.Functionalities.IndexingPM();

            //load file
            openFileDialog.Title    = "Browse";
            openFileDialog.Filter   = "Network Documents (*.net) | *.net";
            openFileDialog.FileName = "";
            openFileDialog.ShowDialog();
            if (openFileDialog.FileName == "")
            {
                return;
            }

            string sFilePath = openFileDialog.FileName;

            //lblFileName.Text = openFileDialog.SafeFileName;

            loadGraph.Load_Data(ref graph, graph.orgNet, sFilePath, true);
            //Display information to tabInform
            this.Text = "AnalysisNetwork  --  " + openFileDialog.SafeFileName;

            //gProAnalyzer.Functionalities.IndexingPM.start_Indexing(ref graph, ref clsHWLS, ref clsHWLS_Untangle, ref clsLoop, ref clsSESE);
        }