18.6 Making wired connections

#1

[EPIJ 10/17 edition]

I’m having trouble understanding the problem statement. I think what it’s saying is to decide if it’s possible to divide the pins into 2 groups, such that no 2 pins from the same group are adjacent in the PCB i.e. no 2 pins from the same group are connected by a wire.

Is this correct?

Thanks.

1 Like

#2

Look up a bipartite graph. I think the problem just asks to determine if the graph created by pins and wires is bipartite.

0 Likes

#3

@yevvi Thanks. Have you attempted the problem?

0 Likes

#4

Yeah, i actually posted a thread about it, with different solution, i think it’s dated Oct. 15.

0 Likes

#5

@yevvi Cool. Thanks!

0 Likes

#6

Awesome @yevvi, thanks for the help in our community!

0 Likes

#7

From what I’ve seen online, a bipartite split doesn’t place a constraint on the relationship of number of vertices in each set. In other words, bipartite doesn’t mean half of vertices in one set and the other half in the other - it can be any number of vertices in either set. Is this correct?

1 Like

#8

Yeah that’s correct. But the problem just says to divide between 2 sets, it doesn’t constrain what the size of each set should be.

0 Likes