using System.IO; namespace ZeroLevel.HNSW { public static class SmallWorld { public static SmallWorld CreateWorld(NSWOptions options) => new SmallWorld(options); public static SmallWorld CreateWorldFrom(NSWOptions options, Stream stream) => new SmallWorld(options, stream); public static ReadOnlySmallWorld CreateReadOnlyWorldFrom(NSWReadOnlyOption options, Stream stream) => new ReadOnlySmallWorld(options, stream); } }