Results 1 to 3 of 3
  1. #1
    ahmed80 is offline Member
    Join Date
    Jan 2011
    Posts
    8
    Rep Power
    0

    Default how creat linear combination of object

    hi everyone
    i want to encode packets in java before i will send to receiver and decode packet at receiver using identical seed both at sender and receiver.
    i have problem that packet is not physical packet just object .how i creat random number with idenrical seed and add to paket object and send to receiver.
    ahmed

  2. #2
    goldest's Avatar
    goldest is offline Senior Member
    Join Date
    Oct 2009
    Location
    Pune, India
    Posts
    469
    Rep Power
    6

    Wink

    Ahmed,

    Have to actually tried some code in this case? If yes, post it and tell us where have you stuck up exactly.

    Goldest
    Java Is A Funny Language... Really!
    Click on * and add to member reputation, if you find their advices/solutions effective.

  3. #3
    ahmed80 is offline Member
    Join Date
    Jan 2011
    Posts
    8
    Rep Power
    0

    Default

    Random linear coding: When the queue is nonempty,
    the sender selects the first k packets,
    I1; : : : ; Ik, in the queue (where k = minf number
    of packets in queue, K and k is some preselected
    integer that characterizes the protocol). The
    collection I1; : : : ; Ik will be referred to as a bulk.
    ///////////////////////
    i have done until here
    ////////////////
    The sender proceeds to generate encoded packets
    based on the bulk.
    Each encoded packet A(I) is a random (or pseudorandom)
    linear combination
    A(I) =sum of all from i =0 to k
    i=1
    R(A(I)) I(i)


    of the original information packets, where Ri(A(I)) are
    coefficients selected at random for each encoded
    packet from some field F.

    i try coding but i didnt build logic.ho i do it.
    pleae guide me

Similar Threads

  1. how creat multi object for one class
    By ahmed80 in forum New To Java
    Replies: 0
    Last Post: 01-07-2011, 10:57 AM
  2. random linear combination of packet
    By bhatti in forum Networking
    Replies: 0
    Last Post: 12-22-2010, 04:46 PM
  3. Key combination
    By dejos456 in forum New To Java
    Replies: 9
    Last Post: 11-30-2009, 08:11 AM
  4. COMBINATION TEXT..help me..urgent
    By conv_bay in forum New To Java
    Replies: 10
    Last Post: 04-28-2009, 12:34 AM
  5. how to creat collection
    By STILET in forum Advanced Java
    Replies: 2
    Last Post: 07-29-2008, 08:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •