51 |
Instances of derived classes are supposed to compute the output error of |
Instances of derived classes are supposed to compute the output error of |
52 |
various kinds of neural networks. |
various kinds of neural networks. |
53 |
*) |
*) |
54 |
class virtual ['a] errorVisitor = |
class ['a] errorVisitor = |
55 |
object |
object |
56 |
inherit ['a] defaultVisitor |
inherit ['a] defaultVisitor |
57 |
|
|
58 |
|
(** |
59 |
|
The generic visit method. |
60 |
|
//FIXME: add instanciation of an inheriting visitor depending on the |
61 |
|
nn's dynamic type. |
62 |
|
*) |
63 |
|
method visit (nn : 'a) = |
64 |
|
() |
65 |
|
|
66 |
end |
end |