Download A Functional Structural Tree Model LIGNUM User's Guide
Transcript
Contents 1 Introduction 3 2 Three Dimensional Tree Models 2.1 The Role of Three Dimensional Tree Models . . . . . . . . . . . . 2.2 Examples of Models . . . . . . . . . . . . . . . . . . . . . . . . . 2.3 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 5 5 5 3 Programming Guidelines 3.1 Background . . . . . . . . . . . . . . . 3.2 Using C++ . . . . . . . . . . . . . . . 3.2.1 C programmers . . . . . . . . . 3.2.2 Learning C++ . . . . . . . . . 3.3 Programming Style . . . . . . . . . . . 3.3.1 Typographical Issues . . . . . . 3.3.2 Comments and Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 6 7 7 8 9 9 10 4 Getting Started with LIGNUM 4.1 Getting Lignum . . . . . . . . . . . 4.2 Compiling LIGNUM . . . . . . . . 4.3 Makefiles for LIGNUM . . . . . . . 4.3.1 Predefined Macros . . . . . 4.4 Running LIGNUM . . . . . . . . . 4.4.1 Initialization of the Tree . . 4.5 Visualizing Results . . . . . . . . . 4.5.1 The Visualization Program 4.5.2 MineSet Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 12 12 13 13 14 14 15 15 15 5 The 5.1 5.2 5.3 . . . . . . . . . . . . . . . . . . Design of LIGNUM 16 Units of LIGNUM . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Program Architecture . . . . . . . . . . . . . . . . . . . . . . . . 18 Algorithms and Methods . . . . . . . . . . . . . . . . . . . . . . . 20 6 Algorithms 6.1 ForEach . . . . . 6.2 Accumulate . . . 6.3 AccumulateDown 6.4 PropagateUp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 22 23 25 26