Given topological spaces $X$ and $Y$, we often consider the collection of continuous functions, $f: X \rightarrow Y$. My question is, given two sets $X$ and $Y$, and a sub-collection $\{g_{i}\}$ of the collection of all functions from $X$ to $Y$, do there exist topologies on $X$ and $Y$ so that the $g_{i}$ are precisely the continuous functions from $X$ to $Y$?
I have a few thoughts on this, if $\{g_{i}\}$ is the entire collection of functions from $X$ to $Y$, then we can give $X$ the discrete topology and give $Y$ any topology and the result follows. If $\{g_{i}\}$ is just the constant functions (which are always continuous) then we can give $Y$ the indiscrete topology and give $X$ any topology and the result follows. Aside from these two trivial cases, is there anything we can say about this question? Assume that $\{g_{i}\}$ contains the constant functions.