[kplato] the source tree

Jim Sabatke kplato@kde.org
Sat, 21 Jul 2001 14:57:02 -0500


I think we need to publish instructions on how to get the source code. 
 I would like to look at the project so far and don't have a clue on how 
to find it.


Thomas Zander wrote:

>Hi,
>
>I moved stuff around and made it work a lot better then it did.
>
>but there is one huge problem, I don't know the rules of the calculations 
>that are done.
>
>So could someone please check the sources and implement things in
>  kptproject.cc::getExpectedDuration()
>and similar methods.
>
>There is a good implementation there now, but I don't know if I did it
>correctly. (I think its ok though)
>
>My main question at the moment is what expectedDuration will return, IIRC
>if I ask a task it will just check the time needed,  no delays and schueduling
>there.
>
>Then what is the correct output of the test program? Is the output printed now
>correct?
>
>    Creating Task A
>      Project
>      +-- > Task A
>     
>    Added task B with effort of 2 hours
>      Project
>      +-- > Task A
>      +-- > Task B
>              -> 02:00:00
>     
>    Added subtask A1 with effort 1 hour
>      Project
>      +-- > Task A
>      |       -> 01:00:00 (implied)
>      |       +-- > Task A1
>      |               -> 01:00:00
>      +-- > Task B
>              -> 02:00:00
>     
>    Setting Task B to start 1h45m after A finished
>      Task A1 -- Task B
>     
>    Total running time: 03:00:00   (project->getExpectedDuration())
>
>
>After this is done, lets work on start/stop times...
>

-- 
Jim Sabatke
SuSE 7.1 Linux
Kernel - 2.4.0
http://www.execpc.com/~jsabatke

"First God made the idiot; that was for practice. Then he made school boards." Mark Twain