•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 456,196 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,924 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 356 | Replies: 0
![]() |
•
•
Join Date: Nov 2006
Posts: 15
Reputation:
Rep Power: 3
Solved Threads: 0
Four buildings A,B,C ,D
Building1 Build2 ActualDistance AllowedDistance
A B 50 60
A C 40 50
A D 40 35
B C 90 10
B D 78 12
C D 45 50
in this combination if the actual distance is < allowed diatnce then the two buildings will be considered as a single building other wise separate buildings.
AB,AC,CD are < allowed distance.so they are considering as a single buildings.so the display should be
A+B+C+D
Example 2:
Building1 Build2 ActualDistance AllowedDistance
A B 50 60
A C 40 30
A D 40 35
B C 90 10
B D 78 12
C D 45 50
Here AB,CD are considered as single so the display will be
A+B C+D
Example 3:
Building1 Build2 ActualDistance AllowedDistance
A B 89 60
A C 40 30
A D 40 35
B C 90 10
B D 78 12
C D 45 50
here CD are considered as a single
so the display should be
A B C+D.
This is for 4 buildings.it will be extended to upto n buildings.
i want the logic to display like this in c# .
Thanks for the help
Building1 Build2 ActualDistance AllowedDistance
A B 50 60
A C 40 50
A D 40 35
B C 90 10
B D 78 12
C D 45 50
in this combination if the actual distance is < allowed diatnce then the two buildings will be considered as a single building other wise separate buildings.
AB,AC,CD are < allowed distance.so they are considering as a single buildings.so the display should be
A+B+C+D
Example 2:
Building1 Build2 ActualDistance AllowedDistance
A B 50 60
A C 40 30
A D 40 35
B C 90 10
B D 78 12
C D 45 50
Here AB,CD are considered as single so the display will be
A+B C+D
Example 3:
Building1 Build2 ActualDistance AllowedDistance
A B 89 60
A C 40 30
A D 40 35
B C 90 10
B D 78 12
C D 45 50
here CD are considered as a single
so the display should be
A B C+D.
This is for 4 buildings.it will be extended to upto n buildings.
i want the logic to display like this in c# .
Thanks for the help
Thanks,
Satees
Satees
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Building proximity (ASP.NET)
- *The* Problem With JSP...? (JSP)
- URL parsing to get variables name (PHP)
- Building Machine (Motherboards, CPUs and RAM)
- PHP vs. ASP.NET for development platforms (PHP)
- RFID tags, big brother is watching? (Geeks' Lounge)
- PC kit questions (Motherboards, CPUs and RAM)
- Building first cpu:)PleaseHelp! (Motherboards, CPUs and RAM)
- Building D.L.L in Matlab (Visual Basic 4 / 5 / 6)
Other Threads in the ASP.NET Forum
- Previous Thread: problem in my layout
- Next Thread: Building proximity


Linear Mode