I am a research scholar in the field of algorithms and complexity theory. The problem that I am currently working is the $[1,j]$-domination problem. Given a graph $G = (V, E)$, with $n = |V|$, the problem asks to compute a minimum dominating set $D$, such that all the vertices outside the solution set $D$ have at most $j$ neighbours in $D$.
Let's say I have an algorithm for some particular graph class $C$ with the running time $2^j \cdot \text{poly}(n)$. Can I say that the problem is polynomial time solvable for graph class $C$?
My main question is, should I always consider $j$ to be a constant, can't it be some function of $n$ that ruins everything?