예제 #1
0
        static void Main(string[] args)
        {
            CTranslationUnit tr = new CTranslationUnit();

            CGraph graph = CGraph.CreateGraph();

            tr.dipole()
            .algorithm()
            .algorithm()
            .connections()
            .connection()
            .GRAPH(graph)
            .GRAPHELEMENTTYPE(GraphElementType.ET_NODE)
            .KEY(graph.GetHashCode())
            .INFOTYPE(typeof(int))
            .end()
            .end();
        }
예제 #2
0
 public CDipole(CTranslationUnit father)
 {
     this.father = father;
 }