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

Algorithms

 
QuestionCan D simulated by H terminate normally? Pin
polcott14-May-23 10:40
polcott14-May-23 10:40 
AnswerRe: Can D simulated by H terminate normally? Pin
jschell15-May-23 4:54
jschell15-May-23 4:54 
GeneralRe: Can D simulated by H terminate normally? Pin
jschell16-May-23 6:47
jschell16-May-23 6:47 
GeneralRe: Can D simulated by H terminate normally? Pin
jschell16-May-23 7:16
jschell16-May-23 7:16 
QuestionBase building in a RTS based on a queue of orders Pin
Calin Negru27-Apr-23 4:01
Calin Negru27-Apr-23 4:01 
AnswerRe: Base building in a RTS based on a queue of orders Pin
Gerry Schmitz27-Apr-23 5:33
mveGerry Schmitz27-Apr-23 5:33 
General[edited]Re: Base building in a RTS based on a queue of orders Pin
Calin Negru27-Apr-23 8:01
Calin Negru27-Apr-23 8:01 
GeneralRe: [edited]Re: Base building in a RTS based on a queue of orders Pin
Gerry Schmitz29-Apr-23 3:48
mveGerry Schmitz29-Apr-23 3:48 
I have "various" queues. If I need to rotate over time, the angle is "queued" as a counter. During each frame (time interval / slice) the angle is reduced and applied to the object. Since my "game" can run at anywhere from 1x to 40x, it's all a function of time.

The route waypoints are queued and consumed at a rate equal to the time it took for the last one; which varies with terrain. One queue can direct multiple objects (object chain of command).

The guns have to be unlimbered before they can fire ... a queue on itself.

One queue is fatigue ... which increase with rapid gaits, and only decreases with reduced movements.


"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

General[edit][edit]Re: Base building in a RTS based on a queue of orders Pin
Calin Negru30-Apr-23 5:23
Calin Negru30-Apr-23 5:23 
GeneralRe: [edit][edit]Re: Base building in a RTS based on a queue of orders Pin
Gerry Schmitz30-Apr-23 6:14
mveGerry Schmitz30-Apr-23 6:14 
GeneralRe: [edit][edit]Re: Base building in a RTS based on a queue of orders Pin
Calin Negru30-Apr-23 22:12
Calin Negru30-Apr-23 22:12 
GeneralRe: [edit][edit]Re: Base building in a RTS based on a queue of orders Pin
Gerry Schmitz1-May-23 0:08
mveGerry Schmitz1-May-23 0:08 
GeneralRe: [edited]Re: Base building in a RTS based on a queue of orders Pin
Calin Negru30-Apr-23 5:10
Calin Negru30-Apr-23 5:10 
GeneralRe: [edited]Re: Base building in a RTS based on a queue of orders Pin
Gerry Schmitz30-Apr-23 6:29
mveGerry Schmitz30-Apr-23 6:29 
QuestionEfficiently finding position in sorted list Pin
Robert Ellis26-Mar-23 13:52
Robert Ellis26-Mar-23 13:52 
AnswerRe: Efficiently finding position in sorted list Pin
Mircea Neacsu26-Mar-23 14:42
Mircea Neacsu26-Mar-23 14:42 
QuestionDijkstra Pin
Calin Negru13-Dec-22 7:46
Calin Negru13-Dec-22 7:46 
AnswerRe: Dijkstra Pin
jschell13-Dec-22 10:39
jschell13-Dec-22 10:39 
GeneralRe: Dijkstra Pin
Calin Negru13-Dec-22 22:34
Calin Negru13-Dec-22 22:34 
GeneralRe: Dijkstra Pin
jschell20-Dec-22 13:21
jschell20-Dec-22 13:21 
GeneralRe: Dijkstra Pin
Calin Negru26-Dec-22 9:26
Calin Negru26-Dec-22 9:26 
GeneralRe: Dijkstra Pin
jschell29-Dec-22 11:20
jschell29-Dec-22 11:20 
GeneralRe: Dijkstra Pin
Calin Negru30-Dec-22 8:56
Calin Negru30-Dec-22 8:56 
GeneralRe: Dijkstra Pin
harold aptroot2-Jan-23 6:45
harold aptroot2-Jan-23 6:45 
AnswerRe: Dijkstra Pin
Eddy Vluggen2-Jan-23 10:48
professionalEddy Vluggen2-Jan-23 10:48 

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.