aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/store-query/src/main/java/tools/refinery/store/query/view/MayRelationView.java
blob: a2a84b3c89f73b7849318732205b045abef287b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package tools.refinery.store.query.view;

import tools.refinery.store.representation.Symbol;
import tools.refinery.store.representation.TruthValue;
import tools.refinery.store.tuple.Tuple;

public class MayRelationView extends TuplePreservingRelationView<TruthValue> {
	public MayRelationView(Symbol<TruthValue> symbol) {
		super(symbol, "may");
	}

	@Override
	public boolean filter(Tuple key, TruthValue value) {
		return value.may();
	}
}