You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 89-...@googlegroups.com
אם אני רוצה לממש עם מטריצת שכנויות, וקיבלתי למשל סדרה של קודקודים 1,2,4,5. האם הם חייבים לשמור דווקא על השמות האלה, או שאפשר להתייחס אליהם כאל סדרה 1,2,3,4 ולשנות את הצלעות בהתאם?
אלעד יחזקאל
unread,
May 7, 2015, 5:00:23 PM5/7/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 89-...@googlegroups.com
ממליץ לך ליצור בתוך המבנה של הגרף מערך של int, המערך יחזיק בכל איבר בו את האיידי של הקודקוד
ככה תוכל להתייחס ל"שם" הקודקוד (נגיד קודקוד 5) וגם להתייחס אליו עם אינדקסר(לדוגמא, הקודקוד הרביעי ברשימה הוא 5 כי 1,2,4,5)