Find Jobs
Hire Freelancers

(Project) Graph Algorithm

$250-750 USD

Lezárt
Kiadva ekkor: körülbelül 6 évvel ezelőtt

$250-750 USD

Teljesítéskor fizetve
Terminology: A Graph has Nodes connected by Links (directed from one node to another); Cycle free - application: project tasks. The Links have no attributes. If a Node has no links it is independent of the others; same applies to sets of Nodes. When storing a graph, I reference the other nodes like this class Graph { public nodes: GraphNode[]; } class GraphNode { public id: string; // key public label: string; public prerequisiteId: string; // pointer - the id of the previous node public dependentId: string; // pointer - the id of the following node } (why: ease of entry and retrieval, no need for storing a list; links have no attributes and can be derived on the fly) With this, I can draw most graphs found in project plans with their tasks. e.g. b a< > d c a=starting point b=parallel, starts after a is complete (prerequisite: a, dependent:d) c=parallel, starts after a is complete (prerequisite: a, dependent:d) d=finish, starts after b+c is complete Question A: What graph constructs can I not represent with this model? (please provide images or so) When drawing the graph, I convert the structure to class PaintNode { public id: string; public label: string; public prerequisiteIds: string[]; // pointer list - the id of the previous nodes } The conversion from GraphNodes to PaintNodes is pretty easy. Question B: What is a good algorithm to convert PaintNodes to GraphNodes? (pseudo code is fine in Java or Typescript style) Question C: How can I recognize that the PaintNodes cannot be converted to GraphNodes due to the restriction of the data model? (pseudo code is fine in Java or Typescript style) Follow up project: automatic layout
Projektazonosító: 16354280

A projektről

1 ajánlat
Távolról teljesíthető projekt
Aktiválva: 6 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
1 szabadúszó adott átlagosan $305 USD összegű árajánlatot erre a munkára
Felhasználó avatár
I am well experienced in graph algorithms. I can surely help you out with these questions you have given. Please inbox me.
$305 USD 3 napon belül
5,0 (114 értékelés)
6,0
6,0

Az ügyfélről

UNITED STATES zászlója
Redwood City, United States
5,0
1
Fizetési mód hitelesítve
Tagság kezdete: jan. 22, 2010

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.