Find Jobs
Hire Freelancers

(Project) Graph Algorithm

$250-750 USD

Zavřený
Zveřejněno přibližně před 6 roky

$250-750 USD

Zaplaceno při doručení
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
IČ projektu: 16354280

O projektu

1 nabídka
Vzdálený projekt
Aktivní před 6 roky

Chcete si vydělat nějaké peníze?

Výhody podávání nabídek na Freelancer

Stanovte si rozpočet a časový rámec
Získejte za svou práci zaplaceno
Načrtněte svůj návrh
Registrace a podávání nabídek je zdarma
1 freelanceři nabízejí v průměru $305 USD za tuto práci
Avatar uživatele
I am well experienced in graph algorithms. I can surely help you out with these questions you have given. Please inbox me.
$305 USD v 3 dnech
5,0 (114 recenze)
6,0
6,0

O klientovi

Pochází z UNITED STATES
Redwood City, United States
5,0
1
Ověřená platební metoda
Členem od led 22, 2010

Ověření klienta

Díky! Poslali jsme vám e-mailem odkaz pro získání kreditu zdarma.
Při odesílání e-mailu se něco pokazilo. Zkuste to prosím znovu.
Registrovaných uživatelů Zveřejněných projektů
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Načítání náhledu
Bylo uděleno povolení ke geolokaci.
Vaše doba přihlášení vypršela a byli jste odhlášeni. Přihlaste se znovu.