Economic planning is a resource allocation mechanism that is contrasted with the market mechanism. As a coordinating mechanism for socialist economics, economic planning substitutes factor markets and is defined as a direct allocation of resources. This is contrasted with the indirect allocation mechanism of a market economy. There are various types that economic planning procedures and forms planning can take.