The original implementation of Mettack is designed only for undirected graphs. I've added an option undirected to MetaBase, Metattack, MetaApprox and utils.likelihood_ratio_filter and adapted their codes to support both undirected and directed graphs. I set the default value of undirected to True so that it is supposed be compatible with existing code.
The original implementation of Mettack is designed only for undirected graphs. I've added an option
undirected
toMetaBase
,Metattack
,MetaApprox
andutils.likelihood_ratio_filter
and adapted their codes to support both undirected and directed graphs. I set the default value ofundirected
toTrue
so that it is supposed be compatible with existing code.