[kplato] Some code ...

Thomas Zander kplato@kde.org
Wed, 29 Aug 2001 00:09:10 +0200


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

On Tue, Aug 28, 2001 at 10:01:06PM +0100, John D Lamb wrote:
> Thomas Zander wrote:
> >=20
> > On Tue, Aug 28, 2001 at 07:56:30AM +0100, John D Lamb wrote:
> > >
> > > PS I am assuming that if A and B are the two KPTNodes of a KPTRelatio=
n,
> > > then A->m_parent =3D=3D B->m_parent. Are you making the same assumpti=
on?
> >=20
> > Ehh, no, as I said before the trees are totally seperate.
> > ...
> > Hope that makes sense..
>=20
> Ah. Suddenly everything has become perfectly clear. This also explains
> why my suggested data structure couldn't make sense to you.

I feel like we are running in circles. :}
I yet fail to see what is wrong with the current data structure in CVS,=20
if is build to allow any common dataset to be build with ease and will
allow very wierd datasets if the logic on top will alow this.

Your suggestion about subprojects have no bearing on the examples I have
seen. And I fail to see how a you could call a milestone a group.

Could you do me a favor and build for yourself a dataset (using the=20
common components allready available) of the following project:

I build a house, have 3 contracters and allow them to do their own planning
in their own project (which is a subproject, but the dataset just displays
it as a project, also a node)

Contractor 1;
 electrician
    basic electricity, also needed for the construction site to operate.
    cabling in house, can only be done after the walls are there, before
    the walls have been plastered.
    placing electrical outlets on top of the wiring.
    making the whole live.

 builder
    basic structure/roof
    walls up
    plastering walls
    hanging doors
    placing windows (can be done last, lets assume this is a warm country :)
 =20
 furnishers
    placing carpets, make sure the plastering has been done !
    placing lights and other indoor decoration
    placing window-decoration

You will quickly see that some deadlines have to be set, where one project
depends on the timing of another.
For example the builder might have a milestone 'walls are up', which will
trigger the electrician to come in for a part of his project.

For clearity, lets call the above structure the treeview, you will find
many little tasks will be created under this tree. Plastering walls can be
devided into flattening them, cleaning them, and then plastering them.=20
but under that same node (plastering walls) might be a drying node and a
finishing node which fixes anything left after the drying.

    plastering(1)
        flattening
        cleaning
        plastering(2)
        drying
        finishing

The timing diagram can then be called the gannt chart.

In the last example (plastering) the order is completely sequencial, but
the carpets can be placed during the drying, so the milestone will have to
depend on the plastering(2) to be finished, not the plastering(1).


Hope this will get a lot of confusion out of the world ;)
Also hope you're not mad at me for going the other way on you!

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

--V88s5gaDVPzZ0KCq
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

iD8DBQE7jBaGCojCW6H2z/QRAhnnAJ0bxKVGFkFb/WsBTZrX27lYreyEUgCgqJ2o
L/xZVfQF7hY+7+HRQjSASK4=
=2JEd
-----END PGP SIGNATURE-----

--V88s5gaDVPzZ0KCq--