// // This file is part of an OMNeT++/OMNEST simulation example. // // Copyright (C) 1992-2015 Andras Varga // // This file is distributed WITHOUT ANY WARRANTY. See the file // `license' for details on this and other legal matters. // simple RandomGraphNode extends Node { gates: inout g[]; } network RandomGraph { parameters: int n; double connectedness = default(0.15); // 0.0 node[j].g++ if i!=j && uniform(0,1)