Skip to main content

Geometry: An algorithm to select the most important vehicles in the traffic relative to the main vehicle?

I have the following data about the surrounding vehicles and the main vehicle(let call it E-vehicle): X,Y,Z in earth co-ordinates Velocity Yaw angle Pitch angle

I need to make use of these variables and write an algorithm to select the most important vehicles relative to ego vehicle. Example: To select the 10 most important vehicles from the 100 available in the traffic.

I have an algorithm which uses the distance between these surrounding vehicles and the ego vehicle and selects the nearest ones. However, this is not an efficient algorithm since it can also take into account the parked vehicles which might not be that important when compared a vehicle which is approaching the E-vehicle but is a little far away.

Any ideas on how I can use these variables to write a better algorithm would be appreciated.

Comments

Popular posts from this blog

[Community Question] Linear-algebra: non-negative matrix satisfying two conditions

One of our user asked: A real matrix $B$ is called non-negative if every entry is non-negative. We will denote this by $B\ge 0$ . I want to find a non-negative matrix $B$ satisfying the following two conditions: (1) $(I-B)^{-1}$ exists but not non-negative. Here $I$ is the identity matrix. (2) There is a non-zero and non-negative vector $\vec{d}$ such that $(I-B)^{-1}\vec{d}\ge 0$ . I tried all the $2\times 2$ matrices, but it did not work. I conjecture that such a $B$ does not exist, but don't know how to prove it.

Order of elements of the Prüfer groups $\mathbb{Z}(p^{\infty})$

Let $\mathbb{Z}(p^{\infty})$ be defined by $\mathbb{Z}(p^{\infty}) = \{ \overline{a/b} \in \mathbb{Q}/ \mathbb{Z} / a,b \in \mathbb{Z}, b=p^i$ $ with$ $ i \in \mathbb{N} \}$ , I wish show that any element in $\mathbb{Z}(p^{\infty})$ has order $p^n$ with $n \in \mathbb{N}$ . i try several ways but I have not been successful, some help ?? thank you