4141import org .mastodon .mamut .feature .dimensionalityreduction .AbstractOutputFeature ;
4242import org .mastodon .mamut .feature .spot .SpotBranchIDFeature ;
4343import org .mastodon .util .FeatureUtils ;
44+ import org .slf4j .Logger ;
45+ import org .slf4j .LoggerFactory ;
4446
47+ import java .lang .invoke .MethodHandles ;
4548import java .util .ArrayList ;
4649import java .util .Collection ;
4750import java .util .List ;
5760 */
5861public class InputDimension < V extends Vertex < ? > >
5962{
63+ private static final Logger logger = LoggerFactory .getLogger ( MethodHandles .lookup ().lookupClass () );
64+
6065 private final Feature < ? > feature ;
6166
6267 private final FeatureProjection < ? > featureProjection ;
@@ -167,6 +172,7 @@ public static < V extends Vertex< E >, E extends Edge< V > > List< InputDimensio
167172 for ( FeatureProjection < V > projection : feature .projections () )
168173 inputDimensions .add ( InputDimension .fromVertexFeature ( feature , projection ) );
169174 }
175+ logger .debug ( "Found {} input dimensions for vertex type '{}'." , inputDimensions .size (), vertexType .getSimpleName () );
170176 return inputDimensions ;
171177 }
172178
@@ -184,6 +190,7 @@ public static < V extends Vertex< E >, E extends Edge< V > > List< InputDimensio
184190 for ( FeatureProjection < E > projection : feature .projections () )
185191 inputDimensions .add ( InputDimension .fromEdgeFeature ( feature , projection ) );
186192 }
193+ logger .debug ( "Found {} input dimensions for edge type '{}'." , inputDimensions .size (), edgeType .getSimpleName () );
187194 return inputDimensions ;
188195 }
189196
0 commit comments