Add CommandLine to all examples

This commit is contained in:
Peter D. Barnes, Jr.
2016-05-27 01:24:32 -04:00
parent a165e2edec
commit 38632b0e18
28 changed files with 88 additions and 4 deletions

View File

@@ -48,7 +48,8 @@ def CancelledEvent():
print "I should never be called... "
def main(dummy_argv):
ns.core.CommandLine().Parse(dummy_argv)
model = MyModel()
v = ns.core.UniformRandomVariable()
v.SetAttribute("Min", ns.core.DoubleValue (10))