Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how can I implement alocating person to job useing max-flow & ford_fulkerson ? (i don,t know what is the node and what is the flow in this problem)
problem :
we have :
some jobs with a Specified capacity
number of people that can do some jobs , people can do some job Simultaneously
Posted
Comments
Christian Graus 6-Jun-13 14:55pm    
By writing code. This is obviously homework, so do your own homework, so you learn something.
Coder93 6-Jun-13 15:06pm    
it isn't homework !
I know that I can do it with code ,
But my problem is the defenition of node & flowin this question ?
Christian Graus 6-Jun-13 15:11pm    
How can it not be homework ? How can you have a question to answer, but it's not school work ? I don't get the question, are node and flow the specifics of the algorithms to use ? If you're asking for direction and not code, we're happy to help, but right now, I'm not sure what you're asking. The flow is surely the allocation of a person to a job ? Wouldn't a node be either a person or a job ?
Coder93 6-Jun-13 15:17pm    
i read the max flow algorithm , it use a gragh(some nodes, and edges have the max capacity that can flow on it), but i don't know that in my question what is the node & flow?
Christian Graus 6-Jun-13 15:22pm    
Actually, I'm not sure if this is relevant. The max flow problem is, what's the maximum amount of flow you can have in a system. Allocating jobs is something you can do as fast as you like, unless you're constrained by how long the jobs take to do. I don't see any restrictions in the process of allocating jobs that require you to work out how to best work through those restrictions to allocate as fast as possible. Unless there's details you're not telling us.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900