From Is a symmetric premetric space a topological space? I am aware that a premetric $d: X \times X \rightarrow \mathbb R$ defined for elements of a set $X$ induces a topology $\tau$ on the set, so that $(X, \tau)$ is a topological space. A topology is a set of subsets (called neighborhoods $N$) of $X$, so here
$$ \tau = \{ N \mid N \subset X \} $$
Let's say I do not know $d$, but I am given some elements of $X$ and a subset of the topology, namely
$$ O = \{ N \mid N \subset X \} = \{ \{ x_1, x_2, ..., x_i \}, \{ x_{i+1}, x_{i+2}, ... \}, ... \}\subset \tau $$
where all the $x\in X$.
- Which methods / algorithms etc. exist which (approximately) recover $d$? (At least all $d(x_i,x_j)$ for all $x_i, x_j$ that I have seen in $O$?)
- If there are no methods / algorithms yet, are there topics that I would have to / should look into to be able to develop such a method? (I have been considering Hypergraphs.)
- Are there theoretical reasons why it might not be possible to derive $d$? (In that case it might not be worth trying.)