The third parameter is the goal, the end-objective. What is the goal? Man first determines his objective before starting any activity. He then makes a choice of the means.
To Mahavira, the goal was spiritual development. The goal, for Ghandi was also spiritual development and to achieve this all-sided development of the village system, the development of decentralized economic system. Basically, however, his goal was only spiritual development.
The objective of Marx was economic growth. His entire philosophy is centred on the way, which will achieve economic development. For him, everything else was secondary. He aimed a state where everybody would get everything.
The aim of Keynes was also economic growth.
According to this, Mahavira and Gandhi both come in one category, and Marx and Keynes in the other category.