[kplato] the source tree

Thomas Zander kplato@kde.org
Sat, 21 Jul 2001 16:04:05 +0200


--NzB8fVQJ5HfG6fxh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=
=20
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 schuedul=
ing
there.

Then what is the correct output of the test program? Is the output printed =
now
correct?

    Creating Task A
      Project
      +-- > Task A
    =20
    Added task B with effort of 2 hours
      Project
      +-- > Task A
      +-- > Task B
              -> 02:00:00
    =20
    Added subtask A1 with effort 1 hour
      Project
      +-- > Task A
      |       -> 01:00:00 (implied)
      |       +-- > Task A1
      |               -> 01:00:00
      +-- > Task B
              -> 02:00:00
    =20
    Setting Task B to start 1h45m after A finished
      Task A1 -- Task B
    =20
    Total running time: 03:00:00   (project->getExpectedDuration())


After this is done, lets work on start/stop times...

--=20
Thomas Zander                                            zander@earthling.n=
et
The only thing worse than failure is the fear of trying something new

--NzB8fVQJ5HfG6fxh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7WYvVCojCW6H2z/QRAkLSAKCzqPbK651haEr5Bt2aHfMp0OD5EwCeJcW4
T5M9MaZbModlVIipT9kE0W0=
=ncfS
-----END PGP SIGNATURE-----

--NzB8fVQJ5HfG6fxh--