simple CSE
{
      parameters:
        @display("i=abstract/router,blue,9");
       //TODO: to add signal for hopcount and multicast parameter
        int notification_depth = default(1);
        int alpha = default(1);
        int beta = default(1);
        int gamma = default(2);
        int delta = default(1);
        int queryBufferTTL = default(2);
        int maxHops = default(10);
        //volatile double sendInterval @unit(s);
        volatile double delayTime @unit(s);
        
        //@signal[packet_size](type="long");
        //@statistic[throughput](title="total_number_of_packets"; source="packet_size"; record=vector,last);
        
        
        //@signal[flood](type="long");
        //@statistic[flood](title="number_of_messages"; source="flood"; record= vector,last);
        
        //@signal[success](type="long");
        //@statistic[success_rate](title="Success_rate"; source="success"; record= vector,last);
        
        //@signal[hop_count](type="long");
        //@statistic[latency](title="latency"; source="hop_count"; record= vector,last);

    gates:
        inout provider[] @loose;
        inout customer[] @loose;
        inout sibling[] @loose;
        inout peer[] @loose;
        inout ae[] @loose;
}
simple AE
{
    parameters:
        @display("i=misc/node,#0080FF,23;is=s");
        int warmup = default(60);
        int maxHops = default(10);
        int resource_pool_size = default(10);
        
    gates:
        inout cse[] @loose;
}
