Find Jobs
Hire Freelancers

(Project) Graph Algorithm

$250-750 USD

已关闭
已发布大约 6 年前

$250-750 USD

货到付款
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
项目 ID: 16354280

关于此项目

1条提案
远程项目
活跃6 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
1威客以均价$305 USD来参与此工作竞标
用户头像
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天之内
5.0 (114条评论)
6.0
6.0

关于客户

UNITED STATES的国旗
Redwood City, United States
5.0
1
付款方式已验证
会员自1月 22, 2010起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。