Re: [Ktechlab-devel] Abstraction and properties of components

2010-10-28 Thread Alan Grimes
> Currently I don't know which way of implementation is better. Any ideas on > this? Hmm, let's compare circuit and component: A circuit is a collection of interconnected components in a circuit document. A component can be thought of as a hard-coded sub-circuit that contains zero, one or man

[Ktechlab-devel] Abstraction and properties of components

2010-10-28 Thread Zoltan Padrah
Hi, After analyzing the source code of the old simulator, I've come to the conclusion that currently the best way to abstract the simulator, is to use the following abstraction: - the cicuit elements should be added as the existing Component subclasses - the Circuit itself could be extended to