Project

General

Profile

Actions

Task #4812

closed

Check if same coordinate is used by different node

Added by Saurab Dulal almost 6 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
01/22/2019
Due date:
% Done:

100%

Estimated time:

Related issues 1 (1 open0 closed)

Is duplicate of mini-ndn - Feature #4711: Check for duplicate hyperbolic coordinates while parsing topology fileNewSaurab Dulal

Actions
Actions #1

Updated by Saurab Dulal almost 6 years ago

  • Is duplicate of Feature #4711: Check for duplicate hyperbolic coordinates while parsing topology file added
Actions #2

Updated by Junxiao Shi almost 6 years ago

HR coordinates are floating point numbers.
Equality comparison of floating point numbers is generally unreliable.
If comparing them as strings: it’s possible for two different strings to convert to same double due to precision limitation.
Can we specify a minimum difference? For example, either radius or angle must be at least 2-32 apart.

Actions #3

Updated by Saurab Dulal almost 6 years ago

Junxiao Shi wrote:

HR coordinates are floating point numbers.
Equality comparison of floating point numbers is generally unreliable.
If comparing them as strings: it’s possible for two different strings to convert to same double due to precision limitation.
Can we specify a minimum difference? For example, either radius or angle must be at least 2-32 apart.

we are reading them as string and checking if they are equal or not, we don't do floating point operation.

Actions #4

Updated by Saurab Dulal about 5 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100
Actions

Also available in: Atom PDF