[ndnSIM] ndnSIM Digest, Vol 64, Issue 31

sobia Mirza sobia.mirza88 at yahoo.com
Thu Mar 29 09:32:54 PDT 2018


I need to calculate total number of interests sent by a node and total number of satisfied interests ?
 
 
  On Thu, 29 Mar, 2018 at 21:21, ndnsim-request at lists.cs.ucla.edu<ndnsim-request at lists.cs.ucla.edu> wrote:   Send ndnSIM mailing list submissions to
    ndnsim at lists.cs.ucla.edu

To subscribe or unsubscribe via the World Wide Web, visit
    http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
or, via email, send a message with subject or body 'help' to
    ndnsim-request at lists.cs.ucla.edu

You can reach the person managing the list at
    ndnsim-owner at lists.cs.ucla.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ndnSIM digest..."


Today's Topics:

  1. How to manually set LinkType (Md Ashiqur Rahman)
  2. Interest Satisfaction Rate (ISR) Calculation (sobia Mirza)
  3. How to create new interest from existing one (Mudasir Qazi)
  4. Re: How to create new interest from existing one
      (Spyridon (Spyros) Mastorakis)
  5. Re: Interest Satisfaction Rate (ISR) Calculation
      (Spyridon (Spyros) Mastorakis)


----------------------------------------------------------------------

Message: 1
Date: Wed, 28 Mar 2018 15:09:48 -0700
From: Md Ashiqur Rahman <marahman at email.arizona.edu>
To: ndnsim at lists.cs.ucla.edu
Subject: [ndnSIM] How to manually set LinkType
Message-ID:
    <CAAbJvrGtgmFk9A49KDYDWrU9ZkAJeV+G0qcctU2VvnX1UJ1m5A at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello all,

I am trying to set the LinkType manually in my simulation, for example:

LINK_TYPE_POINT_TO_POINT or LINK_TYPE_AD_HOC.

How and where in the simulation scenario should I do this?

Regards-
Ashiq
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180328/216c650c/attachment-0001.html>

------------------------------

Message: 2
Date: Thu, 29 Mar 2018 05:43:43 +0000 (UTC)
From: sobia Mirza <sobia.mirza88 at yahoo.com>
To: "ndnsim at lists.cs.ucla.edu" <ndnsim at lists.cs.ucla.edu>
Subject: [ndnSIM] Interest Satisfaction Rate (ISR) Calculation
Message-ID: <1753122971.1007943.1522302223857 at mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

HiFrom rate-trace.txt I need to calulate total number of satisfied interests and total interests. How can i do that?
There are InInterests, OutInterests,InSatisfiedInterests, InTimedOutInterests, OutSatisfiedInterests etc. 
>From following which one is actually indicate "number of? satisfied interests" and how "total number of interests" can be calulated??? 


  
  - InInterests measurements of incoming Interests
  - OutInterests measurements of outgoing Interests
  - InData measurements of incoming Data
  - OutData measurements of outgoing Data
  - InNacks measurements of outgoing NACKs
  - OutNacks measurements of outgoing NACKs
  - SatisfiedInterests measurements of satisfied Interests(totals for all faces)
  - TimedOutInterests measurements of timed out Interests(totals for all faces)
  - InSatisfiedInterests measurements of incoming satisfiedInterests (per incoming face)
  - InTimedOutInterests measurements of incoming timed outInterests (per incoming face)
  - OutSatisfiedInterests measurements of outgoing satisfiedInterests (per outgoing face)
  - OutTimedOutInterests measurements of outgoing satisfiedInterests (per outgoing face)???????????????????????????????????????????????????    

  - as mentioned on pagehttp://ndnsim.net/current/metric.html
regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180329/2293cb66/attachment-0001.html>

------------------------------

Message: 3
Date: Thu, 29 Mar 2018 19:37:50 +0500
From: Mudasir Qazi <mudasirqazi00 at gmail.com>
To: ndnsim at lists.cs.ucla.edu
Subject: [ndnSIM] How to create new interest from existing one
Message-ID:
    <CADdMPjL2HnhRUDg=Gwid9XwVxuS8e8=Hg4d2EoSAuj4b0a2JPg at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

I'm trying to create new Interest packet from an existing one. The function
will be passed existing Interest in parameter e.g.,

Interest& createTemporaryInterest(const Interest& interest){
          shared_ptr<Interest> tempInterest = Interest(interest);
          const Name& tempName = "...";
          tempInterest->setName(tempName);
          return tempInterest;
}

Basically I need all properties of an Interest copied to another interest.
Then I'll set custom name of newly created Interest. So, In short, the
newly created Interest will have all properties of existing one but the
name.

How can I achieve this? Please help.

-- 
Regards,
Mudasir Qazi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180329/af04d7d3/attachment-0001.html>

------------------------------

Message: 4
Date: Thu, 29 Mar 2018 09:17:44 -0700
From: "Spyridon (Spyros) Mastorakis" <mastorakis at cs.ucla.edu>
To: Mudasir Qazi <mudasirqazi00 at gmail.com>
Cc: ndnsim at lists.cs.ucla.edu
Subject: Re: [ndnSIM] How to create new interest from existing one
Message-ID: <A627490F-233E-43C1-BD7C-7D986A61FD53 at cs.ucla.edu>
Content-Type: text/plain; charset="us-ascii"

Hi,

use the Interest constructor that accepts a Block and pass the wire format of the existing Interest using the wireEncode method.

Then, use the setName method to set the name of the new Interest.

Thanks,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA

> On Mar 29, 2018, at 7:37 AM, Mudasir Qazi <mudasirqazi00 at gmail.com> wrote:
> 
> Hi, 
> 
> I'm trying to create new Interest packet from an existing one. The function will be passed existing Interest in parameter e.g.,
> 
> Interest& createTemporaryInterest(const Interest& interest){
>          shared_ptr<Interest> tempInterest = Interest(interest);
>          const Name& tempName = "...";
>          tempInterest->setName(tempName);
>          return tempInterest;
> }
> 
> Basically I need all properties of an Interest copied to another interest. Then I'll set custom name of newly created Interest. So, In short, the newly created Interest will have all properties of existing one but the name.
> 
> How can I achieve this? Please help.
> 
> -- 
> Regards,
> Mudasir Qazi
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180329/7ebb6477/attachment-0001.html>

------------------------------

Message: 5
Date: Thu, 29 Mar 2018 09:21:18 -0700
From: "Spyridon (Spyros) Mastorakis" <mastorakis at cs.ucla.edu>
To: sobia Mirza <sobia.mirza88 at yahoo.com>
Cc: "ndnsim at lists.cs.ucla.edu" <ndnsim at lists.cs.ucla.edu>
Subject: Re: [ndnSIM] Interest Satisfaction Rate (ISR) Calculation
Message-ID: <D3E9D6D5-A667-4AB2-A425-255DCFA38309 at cs.ucla.edu>
Content-Type: text/plain; charset=utf-8

Hi,

you do not provide enough context on what your goal is and what you are trying to do. Are you trying to calculate the total number of interests sent by the consumer and the number of satisfied Interests per forwarder node?

Thanks,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/
Internet Research Laboratory
Computer Science Department
UCLA

> On Mar 28, 2018, at 10:43 PM, sobia Mirza <sobia.mirza88 at yahoo.com> wrote:
> 
> Hi
> From rate-trace.txt I need to calulate total number of satisfied interests and total interests. How can i do that?
> 
> There are InInterests, OutInterests,InSatisfiedInterests, InTimedOutInterests, OutSatisfiedInterests etc. 
> From following which one is actually indicate "number of  satisfied interests" and how "total number of interests" can be calulated??? 
> 
> 
>     ? InInterests measurements of incoming Interests
>     ? OutInterests measurements of outgoing Interests
>     ? InData measurements of incoming Data
>     ? OutData measurements of outgoing Data
>     ? InNacks measurements of outgoing NACKs
>     ? OutNacks measurements of outgoing NACKs
>     ? SatisfiedInterests measurements of satisfied Interests (totals for all faces)
>     ? TimedOutInterests measurements of timed out Interests (totals for all faces)
>     ? InSatisfiedInterests measurements of incoming satisfied Interests (per incoming face)
>     ? InTimedOutInterests measurements of incoming timed out Interests (per incoming face)
>     ? OutSatisfiedInterests measurements of outgoing satisfied Interests (per outgoing face)
>     ? OutTimedOutInterests measurements of outgoing satisfied Interests (per outgoing face)                                                    
>     ? as mentioned on page
> http://ndnsim.net/current/metric.html
> regards



------------------------------

Subject: Digest Footer

_______________________________________________
ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu
http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim


------------------------------

End of ndnSIM Digest, Vol 64, Issue 31
**************************************
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180329/49c9697d/attachment-0001.html>


More information about the ndnSIM mailing list