You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rename ProfileConfig into Profile and more refactorings #2016
ProfileConfig -> Profile seems obvious, but then we should do CH/LMProfileConfig -> CH/LMProfile as well. CH/LMProfile(Config) aren't really 'profiles', but merely 'references' indicating that there should be preparations for the according profiles, but I do not have a much better idea atm. Only problem is that CH/LMProfile already exist. These two classes aren't really really related to the Profile(Config) either and they are more or less only used to carry some parameters and objects (like the Weighting) for the preparations. They might be refactored away entirely so they should not be a reason not to rename CH/LMProfileConfig to CH/LMProfile. Since it is not entirely clear what the purpose of (the current) CH/LMProfile classes is its hard to give them a name, maybe we just call them CH/LMConfig? So how about:
And should we seek for a better package name than com.graphhopper.storage.ev?
And #583 I would just close for now. (flag encoder will be resolved into some encoded value collections and algorithms subpackage is not worth it as mostly all classes in com.graphhopper.routing are algorithm related)
I did the renaming in this and the following commits: 90fac00 Lots of trivial changes... I hope the single commits make it a bit easier to update other branches 🙈
Maybe now is a good time for #1147 as well? PathWrapper->ResponsePath? :)
I just noticed that SPTEntry is located at com.graphhopper.storage. Should we move it to com.graphhopper.routing? (maybe move also RoutingCH* classes to com.graphhopper.routing.ch too?)
Honestly, I do not see much value in maintaining an elaborate (sub) folder structure unless it is about Java package privacy (which we probably could/should use a bit more, but this would require a bit more thought, probably too late for 1.0). For example I am not sure if it makes sense to have a ch package which contains algorithms and graph structures when we already have two packages for routing and graphs/storage. But yes, SPTEntry (and ShortcutUnpacker) certainly seem to not belong into storage).
Activity
easbar commentedon May 5, 2020
ProfileConfig->Profileseems obvious, but then we should doCH/LMProfileConfig->CH/LMProfileas well.CH/LMProfile(Config)aren't really 'profiles', but merely 'references' indicating that there should be preparations for the according profiles, but I do not have a much better idea atm. Only problem is thatCH/LMProfilealready exist. These two classes aren't really really related to theProfile(Config)either and they are more or less only used to carry some parameters and objects (like theWeighting) for the preparations. They might be refactored away entirely so they should not be a reason not to renameCH/LMProfileConfigtoCH/LMProfile. Since it is not entirely clear what the purpose of (the current)CH/LMProfileclasses is its hard to give them a name, maybe we just call themCH/LMConfig? So how about:ProfileConfig->ProfileCH/LMProfile->CH/LMConfigCH/LMProfileConfig->CH/LMProfileAnd for
2.0we will probably removeCH/LMConfig...karussell commentedon May 5, 2020
Yes, sounds good!
And should we seek for a better package name than
com.graphhopper.storage.ev?And #583 I would just close for now. (flag encoder will be resolved into some encoded value collections and algorithms subpackage is not worth it as mostly all classes in com.graphhopper.routing are algorithm related)
easbar commentedon May 5, 2020
I did the renaming in this and the following commits: 90fac00 Lots of trivial changes... I hope the single commits make it a bit easier to update other branches 🙈
karussell commentedon May 6, 2020
Have moved profiles to ev: https://github.com/graphhopper/graphhopper/compare/refactor_ev
Have merged it.
moved package from core/src/test/java/com/graphhopper/routing/profile…
easbar commentedon May 7, 2020
Maybe now is a good time for #1147 as well?
PathWrapper->ResponsePath? :)karussell commentedon May 8, 2020
Yes 👍
karussell commentedon May 11, 2020
I just noticed that SPTEntry is located at com.graphhopper.storage. Should we move it to com.graphhopper.routing? (maybe move also RoutingCH* classes to com.graphhopper.routing.ch too?)
easbar commentedon May 11, 2020
Honestly, I do not see much value in maintaining an elaborate (sub) folder structure unless it is about Java package privacy (which we probably could/should use a bit more, but this would require a bit more thought, probably too late for
1.0). For example I am not sure if it makes sense to have achpackage which contains algorithms and graph structures when we already have two packages forroutingand graphs/storage. But yes,SPTEntry(andShortcutUnpacker) certainly seem to not belong into storage).karussell commentedon May 11, 2020
👍
Ok, will do this (only).
moved SPTEntry and ShortcutUnpacker to com.graphhopper.routing(.ch), #…
Update ios_compatibility branch to graphhopper 1.0 release state. (#2383