3. The Logic of Programming
This chapter introduces some basic concepts before we can start programming. What is the mathematical background of programs and what are algorithms? We will see that agent-based models are typically modeled as a set of rules for the behavior of objects that are listed in seperate sub-programs. At the end of the chapter we provide some tips for how to approach programming in practice.



