comp.lang.ada
 help / color / mirror / Atom feed
From: brbarkstrom@gmail.com
Subject: Re: longest path through a task
Date: Thu, 28 May 2015 05:27:17 -0700 (PDT)
Date: 2015-05-28T05:27:17-07:00	[thread overview]
Message-ID: <aa9d235c-db21-46e8-ae50-4284e9cb094c@googlegroups.com> (raw)
In-Reply-To: <cso403Fas43U1@mid.individual.net>

There are well-known algorithms for computing schedules.  I'd recommend
Sedgewick, R. and Wayne, K., 2011: Algorithms, Fourth Edition, Addison-
Wesley, Upper Saddle River, NJ.  What you want should emerge from a Critical
Path Method (or PERT) algorithm as the time on the critical path, which 
is the longest time through the job network.  The classic, single core 
(non-threaded) algorithm is covered on pp. 574-584.  The "parallel precedence-
constrained scheduling" algorithm starts on p. 663.  The algorithms in this 
book use Java, but they should be fairly easy to translate to Ada.  This book's
algorithms are noted for being concise - and even elegant.  This approach
is probably not quite as easy as trying to find a package that already 
contains what you're looking for (you hope).  However, when you get done,
you'll understand the pieces better and know where the weaknesses are.

Bruce B.

  reply	other threads:[~2015-05-28 12:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-27 19:38 longest path through a task jan.de.kruyf
2015-05-27 20:09 ` Niklas Holsti
2015-05-28  6:54   ` jan.de.kruyf
2015-05-28  9:04     ` Niklas Holsti
2015-05-28 12:27       ` brbarkstrom [this message]
2015-05-28 14:01         ` jan.de.kruyf
2015-05-28 13:04       ` jan.de.kruyf
2015-05-29  4:38         ` Niklas Holsti
2015-05-28 16:37     ` Simon Wright
2015-05-28 17:43       ` jan.de.kruyf
2015-05-28 17:52         ` Simon Wright
2015-05-28 18:12           ` jan.de.kruyf
2015-05-29 16:31       ` Simon Wright
2015-05-30 10:50         ` jan.de.kruyf
2015-06-01 13:32         ` Patrick Noffke
2015-06-01 19:09           ` Simon Wright
2015-06-02 22:15           ` Stephen Leake
2015-06-01  4:27   ` Windows Text_IO.Get_Line issue tornenvi
2015-06-01  5:01     ` tornenvi
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox