<< Click to Display Table of Contents >> Navigation: Using SMILE Wrappers > Networks, nodes and arcs > Network |
To create a network, simply use a default constructor:
Java:
import smile.*;
...
Network net = new Network();
Python:
import pysmile
...
net = pysmile.Network()
R:
library(rSMILE)
...
net <- Network()
C#:
using Smile;
...
Network net = new Network();
See the Platforms and Wrappers section for the platform-specific information about the lifetime of instances of Network class.