Hi,
I've been set an assignment to find the maximum hamming distance between 2 nodes for level i. I'm having some trouble mainly because I don't understand what a level is. Could anyone help me out?
Moderators: phlip, Larson, Moderators General, Prelates
Yep.Xanthir wrote:For a 2-cube, you've got the four vertices (0,0), (0,1), (1,0), and (1,1). According to the definition in Yakk's post, the levels are respectively 0, 1, 1, and 2, because that's the number of 1s in each vertex.
Yep.Huh, that seems pretty trivial.
What part of the description I just posted of what level means wasn't clear?Chironic wrote:Sorry, yes it's for an n-cube. I just don't understand the "level" part
cjmcjmcjmcjm wrote:If it can't be done in an 80x24 terminal, it's not worth doing
Meem1029 wrote:So basically it's the number of 1s in A XOR B?
Users browsing this forum: Fekeenuisance and 5 guests