aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/store-reasoning/src/main/java/tools/refinery/store/reasoning/refinement/StorageRefiner.java
blob: 004696fdd68716a5ac7a3b678302678dcde6cd9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * SPDX-FileCopyrightText: 2023 The Refinery Authors <https://refinery.tools/>
 *
 * SPDX-License-Identifier: EPL-2.0
 */
package tools.refinery.store.reasoning.refinement;

import tools.refinery.store.model.Model;
import tools.refinery.store.representation.Symbol;

public interface StorageRefiner {
	boolean split(int parentNode, int childNode);

	boolean cleanup(int nodeToDelete);

	@FunctionalInterface
	interface Factory<T> {
		StorageRefiner create(Symbol<T> symbol, Model model);
	}
}