Matrices

6 views
Skip to first unread message

Joshua Ward

unread,
Feb 23, 2014, 5:52:15 PM2/23/14
to cs...@googlegroups.com
What exactly do you mean, in Wanted 10, when you ask us to include a tool that prints the M' matrix?Do you want it to be a separate module or can we simply include it within the game driver?

For everyone, will you please define what exactly you're considering an island?  in the handout you say that a correct file has exactly one island node;  is that island node you're referring to the start node?  Could you just explain what exactly you want for the island matrix?

-Joshua Ward

Quinn Jones

unread,
Feb 23, 2014, 6:02:17 PM2/23/14
to cs...@googlegroups.com
Well, what helped me is looking at something called connected components which is what other people seem to call islands in this context and the resources of the internet were really helpful.  What I kind of did was count the number of islands as I was finding them and since that process involved iterating across the edges I "repainted" the edges with the weight of the island number I was accumulating, instead of just zero or one.  When I did that the result matched the example in the project description so I feel like it worked.

--Quinn Jones


--
You received this message because you are subscribed to the Google Groups "cs310" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cs310+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Benjamin Waechter

unread,
Feb 24, 2014, 10:57:56 AM2/24/14
to cs...@googlegroups.com
Josh,

If i recall from CS 220 i took last semester the symbol ' on a set (list, matrix ect.) is the mathematical notation for transitive closure. 

hope this helps 

Ben


On Sun, Feb 23, 2014 at 5:52 PM, Joshua Ward <jwa...@mix.wvu.edu> wrote:

--
Reply all
Reply to author
Forward
0 new messages