Find Jobs
Hire Freelancers

Coding Question on Acyclic Graph

₹600-1500 INR

ปิดแล้ว
โพสต์ มากกว่า 5 ปีที่ผ่านมา

₹600-1500 INR

ชำระเงินเมื่อส่งงาน
The partition graph G n = (V, E) for an integer n ≥ 2 is an acyclic digraph where V is the vertex set and E is the edge set such that • v ∈ V represents a partition of an integer n. • An edge (v i , v j ) ∈ E represents that an element in the partition at v i is decomposed into two parts to obtain v j and thus the number of elements in the partition associated with v j = 1 + the number of elements in the partition associated with v i . Number of nodes in the partition graph G n is equal to the partition number of n. The partition graph G 7 for an integer n = 7 is shown in Figure 1. A node in a partition graph G n is represented as Node = hnodeId, partition, childListi. • nodeId: It corresponds to the unique id assigned to each node. It is represented as Node.nodeId. • partition: It represents the partition of an integer n. It is denoted as Node.partition. • childList: It denotes the list of nodeIds of all the nodes whose corresponding partitions are generated from partition. It is denoted as Node.childList. From the Uploaded Image Example:- The partition graph G 7 has 15 nodes. Let a node be Node = hId 3 , h5, 2i , {Id 5 , Id 6 , Id 8 }i. Here the nodeId corresponding to the given node is Id 3 . The partition corresponding to the given node is h5, 2i. childList contains nodeIds of the nodes whose corresponding partitions are generated from the partition h5, 2i. The partitions which are generated from h5, 2i are h5, 1, 1i, h4, 2, 1i and h3, 2, 2i. So childList contains the nodeIds of the nodes corresponding to these generated partitions and the corresponding nodeIds are Id 5 , Id 6 and Id 8 . To Find:- Given a positive integer n ≥ 3. Do the following in an efficient manner. 1. Generate the corresponding partition graph. 2. Count the total number of nodes and total number of vertices in the partition graph. 3. Count the number of nodes at each level. 4. Obtain all the tree edges 5. Obtain all the back edges 6. Obtain all the forward edges
รหัสโปรเจกต์: 18228833

เกี่ยวกับโปรเจกต์

3 ข้อเสนอ
โปรเจกต์ระยะไกล
ใช้งานอยู่ 5 ปีที่ผ่านมา

กำลังมองหาการสร้างรายได้ใช่ไหม?

ประโยชน์ของการประมูลกับ Freelancer

กำหนดงบประมาณและกรอบเวลาของคุณ
รับเงินจากการงานของคุณ
อธิบายข้อเสนอของคุณในภาพรวม
ลงทะเบียนและเสนอราคาฟรี
3 ฟรีแลนซ์กำลังเสนอราคาโดยเฉลี่ย ₹1,776 INR สำหรับงานนี้
รูปอวาตาร์ของผู้ใช้
Hi, Yes i go through your description and i can get this done for you I will get this done as per your requirement. Please come over to chat we will discuss further. waiting to hear back from you. Thanks in advance.@ Regards Ratnesh
₹1,300 INR ใน 1 วัน
0.0 (0 รีวิว)
0.0
0.0
รูปอวาตาร์ของผู้ใช้
This is a typical data structures problem, as the task is to create the partition graph some constraints must be imposed on the limit of the value for 'n' .I'm confident that I can provide you with a code in c++, once if the constraint on the value of n is manageable by me.
₹2,777 INR ใน 5 วัน
0.0 (0 รีวิว)
0.0
0.0
รูปอวาตาร์ของผู้ใช้
Checked you problem. Tried it and I am almost done with the task. A developer with an experience of more than 6 years. Keen to solve problems. Experienced in Java, OO Design principles. Believe in high performance and scalable code.
₹1,250 INR ใน 1 วัน
0.0 (0 รีวิว)
0.0
0.0

เกี่ยวกับลูกค้า

ปักธงของ INDIA
NEEMRANA, India
0.0
0
เป็นสมาชิกตั้งแต่ ม.ค. 14, 2016

การยืนยันลูกค้า

ขอบคุณ! เราได้ส่งลิงก์สำหรับเครดิตฟรีให้คุณทางอีเมลแล้ว
เกิดข้อผิดพลาดขณะส่งอีเมลของคุณ กรุณาลองอีกครั้ง
โลโก้ Freelancer Thailand / ภาษาไทย ช่วยเหลือและสนับสนุน FreelancerประเภทโปรเจคการประกวดFreelancerองค์กรแพ็กเกจสมาชิกโครงการ Freelancer ชั้นแนวหน้าการจัดการโปรเจคงานในพื้นที่Photo Anywhereหน้าจัดแสดงผลงานAPI สำหรับนักพัฒนาได้รับการยืนยันDesktop App เกี่ยวกับเกี่ยวกับเราวิธีใช้งานความปลอดภัยนักลงทุนแผนผังเว็บไซต์เรื่องราวข่าวออกสื่อทีมรางวัลข่าวประชาสัมพันธ์ร่วมงานกับเรา ข้อกำหนดนโยบายความเป็นส่วนตัวข้อกำหนดและเงื่อนไขนโยบายลิขสิทธิ์ข้อพึงปฏิบัติค่าธรรมเนียมและค่าบริการหุ้นส่วนEscrow.comLoadshiftWarrior Forum แอปโลโก้ Apple App Store โลโก้ Google Play
ไม่สามารถคัดลอกไปยังคลิปบอร์ดได้ โปรดลองอีกครั้งหลังปรับเปลี่ยนการอนุญาต
คัดลอกไปยังคลิปบอร์ดแล้ว
ผู้ใช้ที่ลงทะเบียน งานที่มีการโพสต์ทั้งหมด
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
กำลังโหลดตัวอย่าง
ได้รับอนุญาตสำหรับตำแหน่งทางภูมิศาสตร์
เซสชั่นการเข้าสู่ระบบของคุณหมดอายุและคุณได้ออกจากระบบแล้ว กรุณาเข้าสู่ระบบอีกครั้ง