Frobby 0.10.0
Loading...
Searching...
No Matches
The Facade Module
Collaboration diagram for The Facade Module:

Classes

class  BigattiFacade
class  DynamicFrobeniusFacade
class  Facade
class  GenerateDataFacade
class  IdealFacade
class  IntersectFacade
class  IOFacade
class  LatticeFacade
class  PolynomialFacade
class  SliceFacade

Detailed Description

The facades follow the Facade Pattern, which is to say that they put a convenient interface on an underlying system whose interface is more difficult to use.

Apart from implementing this pattern, the facades also take on the responsibility for printing out actions that are being carried out, and how long each step took, if asked to do so. This is a convenient way to do this, since each call to a facade corresponds to some concrete action to carry out, and the printing code does not belong in the code doing the actual computations and it would be much duplicated if it resided in the public interface code.

That the facades take on this responsibility implies that public interface code must never call computational code without using a facade, as then that computation will not be printed. This has the occasional result that facades are put on code whose interface is simple enough that it otherwise would not need a facade.

Todo
Document each facade.