and.addChild( b );
and.addChild( c );
and.addChild( d );
and.addChild( not );
TemporalDependencyMatrix matrix = utils.calculateTemporalDistance( and );
//printMatrix( matrix.getMatrix() );
assertEqualsMatrix( expected, matrix.getMatrix() );
assertEquals( 15, matrix.getExpirationOffset( a ) );
assertEquals( 11, matrix.getExpirationOffset( d ) );
assertEquals( -1, matrix.getExpirationOffset( e ) );
}