Click here to Skip to main content
15,887,242 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Whats the fastest way to search through a binary heap? Pin
CaptainSeeSharp19-Nov-09 5:43
CaptainSeeSharp19-Nov-09 5:43 
GeneralRe: Whats the fastest way to search through a binary heap? Pin
harold aptroot19-Nov-09 6:00
harold aptroot19-Nov-09 6:00 
GeneralRe: Whats the fastest way to search through a binary heap? Pin
CaptainSeeSharp19-Nov-09 6:07
CaptainSeeSharp19-Nov-09 6:07 
GeneralRe: Whats the fastest way to search through a binary heap? Pin
harold aptroot19-Nov-09 6:25
harold aptroot19-Nov-09 6:25 
GeneralRe: Whats the fastest way to search through a binary heap? Pin
CaptainSeeSharp19-Nov-09 7:17
CaptainSeeSharp19-Nov-09 7:17 
QuestionCrowd detection (people), how to? Pin
Gamma_ace12-Nov-09 15:53
Gamma_ace12-Nov-09 15:53 
AnswerRe: Crowd detection (people), how to? Pin
kaushik_acharya5-Nov-11 20:03
kaushik_acharya5-Nov-11 20:03 
QuestionAlgorithm to C# [modified] Pin
VS newbie 11-Nov-09 7:05
VS newbie 11-Nov-09 7:05 
I'm a newbie and would appreciate it if someone could start me off and guide to on how how can you convert algorithm to C# (probability distribution in Wireless LAN)

Algorithm 1 x= Corr GetLocation (n, S, X, P RM)
Input:
n : Number of samples from each access point.
S : Measured signal strength vectors from k access points (S =(s1, ..., sk)).
Each si, 1 ≤ i ≤ k is a vector containing n samples from access point i.
X : Radio map locations.
RM : Radio map, whereRM[a][x](q) represents the pdf of the average of n signal
strength samples from access point a at location x ∈ X.
Output:
The location x ∈ X that maximizes P(x/S).
1: for i = 1..k do
2: Avg(i) ← average(si)
3: end for
4: Max ← 0
5: for l ∈ X do
6: P ←k
i=1
Avg(
i)+0.5
Avg(i)−0.5
RM[i][x](q) dq
7: if P > Max then
8: x ← l
9: Max ← p
10: end if
11: end for

modified on Wednesday, November 11, 2009 1:28 PM

AnswerRe: Algorithm to C# Pin
RichardM111-Nov-09 11:29
RichardM111-Nov-09 11:29 
QuestionCollision Detection with a Quad tree Pin
Anthony Mushrow5-Nov-09 16:22
professionalAnthony Mushrow5-Nov-09 16:22 
AnswerRe: Collision Detection with a Quad tree Pin
Luc Pattyn5-Nov-09 16:40
sitebuilderLuc Pattyn5-Nov-09 16:40 
AnswerRe: Collision Detection with a Quad tree Pin
ely_bob18-Nov-09 12:05
professionalely_bob18-Nov-09 12:05 
Questionorder of algorithm Pin
khomeyni4-Nov-09 20:30
khomeyni4-Nov-09 20:30 
QuestionRe: order of algorithm Pin
harold aptroot5-Nov-09 1:32
harold aptroot5-Nov-09 1:32 
AnswerRe: order of algorithm Pin
khomeyni5-Nov-09 4:45
khomeyni5-Nov-09 4:45 
GeneralRe: order of algorithm Pin
harold aptroot5-Nov-09 5:10
harold aptroot5-Nov-09 5:10 
GeneralRe: order of algorithm Pin
khomeyni5-Nov-09 5:26
khomeyni5-Nov-09 5:26 
GeneralRe: order of algorithm Pin
harold aptroot5-Nov-09 5:30
harold aptroot5-Nov-09 5:30 
GeneralRe: order of algorithm Pin
khomeyni5-Nov-09 5:49
khomeyni5-Nov-09 5:49 
GeneralRe: order of algorithm Pin
harold aptroot5-Nov-09 6:45
harold aptroot5-Nov-09 6:45 
GeneralRe: order of algorithm Pin
khomeyni5-Nov-09 19:35
khomeyni5-Nov-09 19:35 
GeneralRe: order of algorithm Pin
harold aptroot6-Nov-09 1:00
harold aptroot6-Nov-09 1:00 
GeneralRe: order of algorithm Pin
RichardM111-Nov-09 11:33
RichardM111-Nov-09 11:33 
AnswerRe: order of algorithm Pin
RichardM111-Nov-09 11:58
RichardM111-Nov-09 11:58 
GeneralRe: order of algorithm Pin
khomeyni12-Nov-09 2:20
khomeyni12-Nov-09 2:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.