Dear Friends,

 

I do not seem to be able to run any of the wired/wireless example tcl
scripts with the class Agent/MessagePassing in it .

I am interested in simulating a wireless broadcast protocol and wanted to
run the wireless-flooding.tcl script found in the examples folder. I seem to
be getting an error and can't figure a way out.

I get the following error:

 

num_nodes is set 24

expected a list of classes but got Agent/MessagePassing

    (Class superclass line 18)

    (Object init line 18)

    invoked from within

"Agent/MessagePassing/Flooding init -superclass Agent/MessagePassing"

    (Class create line 1)

    invoked from within

"Class create Agent/MessagePassing/Flooding -superclass
Agent/MessagePassing"

    ("eval" body line 1)

    invoked from within

"eval [list $self] create [list $m] $args         "

    (procedure "Class" line 5)

    (Class unknown line 5)

    invoked from within

"Class Agent/MessagePassing/Flooding -superclass Agent/MessagePassing"

    (file "wireless-flooding.tcl" line 128)

 

I get the same error when I try to simulate the other examples that use
Agent/MessagePassing class.

 

I would really appreciate it if someone could tell me what I'm doing wrong.

I am using Windows/Cygwin system and NS2.31 to simulate the example.

 

Thanks in advance.

 

Rgds

Anna

 

Reply via email to