A mathematical model for environment evaluations in landscape ecology