The Analysis of Complex Learning Environments