Advertisement

OMNET++基础

阅读量:
常用import和export导入导出文件

tictoc1的训练过程

在这里插入图片描述
复制代码
    simple Txc1  //通过simple构建了一个节点
    {
    gates: //节点有两个门
        input in;//输入门
        output out;//输出门
    }
    
    //
    // Two instances (tic and toc) of Txc1 connected both ways.
    // Tic and toc will pass messages to one another.
    //
    network Tictoc1//构造一个网络,网络名称叫做Tictoc1
    {
    @display("bgb=147,150");//display可以理解为显示
    submodule

全部评论 (0)

还没有任何评论哟~